diff options
author | Dianne Hackborn <hackbod@google.com> | 2009-09-30 22:35:40 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2009-09-30 23:21:02 -0700 |
commit | 29e4a3c566f435c32f0b95e4ac8e8b33cac6faba (patch) | |
tree | 75b4244d2616aa5513991d15f721ab3b21f0d333 /graphics/java | |
parent | d9b6f14a6926dce7ad3d98e6e30b503c69c904c0 (diff) | |
download | frameworks_base-29e4a3c566f435c32f0b95e4ac8e8b33cac6faba.zip frameworks_base-29e4a3c566f435c32f0b95e4ac8e8b33cac6faba.tar.gz frameworks_base-29e4a3c566f435c32f0b95e4ac8e8b33cac6faba.tar.bz2 |
Update from API review.
Change-Id: I16b1c566f91167aac9615ac59dd297a154c828ea
Diffstat (limited to 'graphics/java')
-rw-r--r-- | graphics/java/android/graphics/drawable/BitmapDrawable.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/drawable/BitmapDrawable.java b/graphics/java/android/graphics/drawable/BitmapDrawable.java index f42788e..29e14d2 100644 --- a/graphics/java/android/graphics/drawable/BitmapDrawable.java +++ b/graphics/java/android/graphics/drawable/BitmapDrawable.java @@ -115,6 +115,7 @@ public class BitmapDrawable extends Drawable { * @deprecated Use {@link #BitmapDrawable(Resources, String)} to ensure * that the drawable has correctly set its target density. */ + @Deprecated public BitmapDrawable(String filepath) { this(new BitmapState(BitmapFactory.decodeFile(filepath)), null); if (mBitmap == null) { @@ -138,6 +139,7 @@ public class BitmapDrawable extends Drawable { * @deprecated Use {@link #BitmapDrawable(Resources, java.io.InputStream)} to ensure * that the drawable has correctly set its target density. */ + @Deprecated public BitmapDrawable(java.io.InputStream is) { this(new BitmapState(BitmapFactory.decodeStream(is)), null); if (mBitmap == null) { |