diff options
author | Winson Chung <winsonc@google.com> | 2010-08-19 14:51:28 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2010-08-19 16:00:41 -0700 |
commit | b3347bb9f4ccf41fb7043bca66c3a565bde1083b (patch) | |
tree | 939878ae215eb83c2038942613300e0744099b12 /src/com/android/launcher2/CustomizePagedView.java | |
parent | 5a74c07c1c1a110e5ef73a596b09f53dd1d58224 (diff) | |
download | android_packages_apps_Trebuchet-b3347bb9f4ccf41fb7043bca66c3a565bde1083b.tar.gz android_packages_apps_Trebuchet-b3347bb9f4ccf41fb7043bca66c3a565bde1083b.tar.bz2 android_packages_apps_Trebuchet-b3347bb9f4ccf41fb7043bca66c3a565bde1083b.zip |
Adding holographic outline for paged items (sans widgets).
Fixing possible null ptr exception in Launcher.
Change-Id: Ie625a6503299cf122e5c22852846d59e66f77414
Diffstat (limited to 'src/com/android/launcher2/CustomizePagedView.java')
-rw-r--r-- | src/com/android/launcher2/CustomizePagedView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/CustomizePagedView.java b/src/com/android/launcher2/CustomizePagedView.java index 7679e398c..4a955b224 100644 --- a/src/com/android/launcher2/CustomizePagedView.java +++ b/src/com/android/launcher2/CustomizePagedView.java @@ -353,7 +353,7 @@ public class CustomizePagedView extends PagedView // if we can't find the icon, then just don't draw it } - drawable = new BitmapDrawable(resources, bitmap); + drawable = new FastBitmapDrawable(bitmap); } drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight()); return drawable; |