diff options
Diffstat (limited to 'src/com/android/settings/ActivityPicker.java')
-rw-r--r-- | src/com/android/settings/ActivityPicker.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/settings/ActivityPicker.java b/src/com/android/settings/ActivityPicker.java index d984adb..ac79cea 100644 --- a/src/com/android/settings/ActivityPicker.java +++ b/src/com/android/settings/ActivityPicker.java @@ -399,6 +399,7 @@ public class ActivityPicker extends AlertActivity implements //noinspection deprecation icon = new BitmapDrawable(thumb); ((BitmapDrawable) icon).setTargetDensity(mMetrics); + canvas.setBitmap(null); } else if (iconWidth < width && iconHeight < height) { final Bitmap.Config c = Bitmap.Config.ARGB_8888; final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c); @@ -413,6 +414,7 @@ public class ActivityPicker extends AlertActivity implements //noinspection deprecation icon = new BitmapDrawable(thumb); ((BitmapDrawable) icon).setTargetDensity(mMetrics); + canvas.setBitmap(null); } } |