Locking pressed state for AllApps icons.
- Setting workaround for transition state bug until b/5897600 is fixed. Change-Id: Icb29a4cd7bfaf527a9db5b853e7fb24c63b58b30
This commit is contained in:
1 parent
28c1854896
commit
e4e506660b
4 files changed
+66
-5
No files matched your search
@@ -561,9 +561,17 @@ public final class Launcher extends Activity
|
||||
mRestoring = false;
|
||||
mOnResumeNeedsLoad = false;
|
||||
}
|
||||
|
||||
// Reset the pressed state of icons that were locked in the press state while activities
|
||||
// were launching
|
||||
if (mWaitingForResume != null) {
|
||||
// Resets the previous workspace icon press state
|
||||
mWaitingForResume.setStayPressed(false);
|
||||
}
|
||||
if (mAppsCustomizeContent != null) {
|
||||
// Resets the previous all apps icon press state
|
||||
mAppsCustomizeContent.resetDrawableState();
|
||||
}
|
||||
// When we resume Launcher, a different Activity might be responsible for the app
|
||||
// market intent, so refresh the icon
|
||||
updateAppMarketIcon();
|
||||
|
||||
Reference in new issue
Block a user