diff options
author | Nebojsa Cvetkovic <nebkat@gmail.com> | 2013-03-03 13:16:35 +0000 |
---|---|---|
committer | Nebojsa Cvetkovic <nebkat@gmail.com> | 2013-03-03 13:16:35 +0000 |
commit | 251be3ae738b77c404712cc97045ca934cb0e295 (patch) | |
tree | 005fd901bc98367efaceb1c2468d31b525d923f3 /src | |
parent | ce6b2513bcfb257cfdeb604060708b3833ccb65e (diff) | |
download | packages_apps_trebuchet-251be3ae738b77c404712cc97045ca934cb0e295.zip packages_apps_trebuchet-251be3ae738b77c404712cc97045ca934cb0e295.tar.gz packages_apps_trebuchet-251be3ae738b77c404712cc97045ca934cb0e295.tar.bz2 |
Launcher: Fixes to overflow menu button
Change-Id: I9b224f66bc25c721db1cd2dd53b397d72c21986e
Diffstat (limited to 'src')
-rw-r--r-- | src/com/cyanogenmod/trebuchet/Launcher.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/com/cyanogenmod/trebuchet/Launcher.java b/src/com/cyanogenmod/trebuchet/Launcher.java index adcb61c..4b9f240 100644 --- a/src/com/cyanogenmod/trebuchet/Launcher.java +++ b/src/com/cyanogenmod/trebuchet/Launcher.java @@ -1336,6 +1336,9 @@ public final class Launcher extends Activity // When Launcher comes back to foreground, a different Activity might be responsible for // the app market intent, so refresh the icon updateAppMarketIcon(); + // When Launcher comes back to foreground, a different Launcher might be made default + // so refresh the icon + updateOverflowMenuButton(); clearTypedText(); } } @@ -3691,9 +3694,6 @@ public final class Launcher extends Activity .commit(); } }.start(); - - // Hide overflow menu on devices with a hardkey - updateOverflowMenuButton(); } @Override @@ -3735,6 +3735,9 @@ public final class Launcher extends Activity // list of applications without waiting for any progress bars views to be hidden. setAllAppsRunnable.run(); } + + // Hide overflow menu on devices with a hardkey + updateOverflowMenuButton(); } /** |