summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNebojsa Cvetkovic <nebkat@gmail.com>2013-03-03 13:16:35 (GMT)
committerNebojsa Cvetkovic <nebkat@gmail.com>2013-03-03 13:16:35 (GMT)
commit251be3ae738b77c404712cc97045ca934cb0e295 (patch)
tree005fd901bc98367efaceb1c2468d31b525d923f3
parentce6b2513bcfb257cfdeb604060708b3833ccb65e (diff)
downloadandroid_packages_apps_Trebuchet-cm-10.1-M2.zip
android_packages_apps_Trebuchet-cm-10.1-M2.tar.gz
android_packages_apps_Trebuchet-cm-10.1-M2.tar.bz2
Launcher: Fixes to overflow menu buttoncm-10.1-M2
Change-Id: I9b224f66bc25c721db1cd2dd53b397d72c21986e
-rw-r--r--src/com/cyanogenmod/trebuchet/Launcher.java9
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();
}
/**