summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-09-23 14:09:34 -0700
committerDianne Hackborn <hackbod@google.com>2009-09-23 14:26:02 -0700
commitde0dfb7b65a02d4dd74c271b558adee0973fc267 (patch)
treec2e701a78f831978378ff3a9c219209aae3e4fc2 /tools/layoutlib
parent5dd7c726f45fd7b7ab473471dc504c00012a6856 (diff)
downloadframeworks_base-de0dfb7b65a02d4dd74c271b558adee0973fc267.zip
frameworks_base-de0dfb7b65a02d4dd74c271b558adee0973fc267.tar.gz
frameworks_base-de0dfb7b65a02d4dd74c271b558adee0973fc267.tar.bz2
Fix issue #2125720 Weather Forecast Widget - graphics do not scale
I forgot to add the new density field to the Bitmaps' parcelable data. Change-Id: I77cf3e93e356297e0caed6fc71b62b5cd8f79124
Diffstat (limited to 'tools/layoutlib')
-rw-r--r--tools/layoutlib/bridge/src/android/graphics/Bitmap.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/layoutlib/bridge/src/android/graphics/Bitmap.java b/tools/layoutlib/bridge/src/android/graphics/Bitmap.java
index 7dde634..ff1b295 100644
--- a/tools/layoutlib/bridge/src/android/graphics/Bitmap.java
+++ b/tools/layoutlib/bridge/src/android/graphics/Bitmap.java
@@ -28,13 +28,13 @@ public final class Bitmap extends _Original_Bitmap {
private BufferedImage mImage;
public Bitmap(File input) throws IOException {
- super(1, true, null);
+ super(1, true, null, -1);
mImage = ImageIO.read(input);
}
Bitmap(BufferedImage image) {
- super(1, true, null);
+ super(1, true, null, -1);
mImage = image;
}