am 17bde09a: Merge "Retain current AllApps page if we never leave Launcher. (Bug 11468582)" into jb-ub-now-kermit

* commit '17bde09a9e9bc4113d9763ccf827307509c04aef':
  Retain current AllApps page if we never leave Launcher. (Bug 11468582)
This commit is contained in:
Winson Chung
2014-02-14 20:38:26 +00:00
committed by Android Git Automerger
+2 -2
View File
@@ -1765,7 +1765,7 @@ public class Launcher extends Activity
}
// Reset the apps customize page
if (mAppsCustomizeTabHost != null) {
if (!alreadyOnHome && mAppsCustomizeTabHost != null) {
mAppsCustomizeTabHost.reset();
}
@@ -2375,7 +2375,7 @@ public class Launcher extends Activity
* @param v The view that was clicked.
*/
public void onClickAllAppsButton(View v) {
showAllApps(true, AppsCustomizePagedView.ContentType.Applications, true);
showAllApps(true, AppsCustomizePagedView.ContentType.Applications, false);
}
public void onTouchDownAllAppsButton(View v) {