diff options
author | Danesh Mondegarian <daneshm90@gmail.com> | 2014-02-13 21:58:48 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2014-12-23 21:43:52 +0000 |
commit | 99840f48519809b6b390d53d0378fa4eece0496c (patch) | |
tree | 3faf693c8e25bc242a2bb124944d49f6f0a02f8c /src/com/android/launcher3/HolographicImageView.java | |
parent | aed08787684b6351082c3a1bfbec2c54d365ee2b (diff) | |
download | android_packages_apps_Trebuchet-99840f48519809b6b390d53d0378fa4eece0496c.tar.gz android_packages_apps_Trebuchet-99840f48519809b6b390d53d0378fa4eece0496c.tar.bz2 android_packages_apps_Trebuchet-99840f48519809b6b390d53d0378fa4eece0496c.zip |
Trebuchet : Fix search bar icon/text disapearing
Repro :
1. Uninstall an application from the app drawer
2. Press back to go to homescreen.
3. The search bar icon/text should be invisible now.
Trebuchet : Avoid unecessary generatePressedFocusedStates
When the drawable's state changes, don't generate state
drawables until after the invalidate call, which takes care of this
already, otherwise it gets drawn before measure/layout gets a chance to run.
Change-Id: I49933e6d985aab9fff9f05092e007e46991a8edf
Diffstat (limited to 'src/com/android/launcher3/HolographicImageView.java')
-rw-r--r-- | src/com/android/launcher3/HolographicImageView.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/launcher3/HolographicImageView.java b/src/com/android/launcher3/HolographicImageView.java index 18ac092e6..33ab8b5a6 100644 --- a/src/com/android/launcher3/HolographicImageView.java +++ b/src/com/android/launcher3/HolographicImageView.java @@ -80,7 +80,6 @@ public class HolographicImageView extends ImageView { protected void drawableStateChanged() { super.drawableStateChanged(); - mHolographicHelper.generatePressedFocusedStates(this); Drawable d = getDrawable(); if (d instanceof StateListDrawable) { StateListDrawable sld = (StateListDrawable) d; |