am be8ff1f4: am d7adbab6: Merge "Save and restore the correct content type when rotating while in AllApps." into jb-ub-now-jolly-elf
* commit 'be8ff1f4077c127933173dd292413d1b853052f8': Save and restore the correct content type when rotating while in AllApps.
This commit is contained in:
@@ -869,7 +869,7 @@ public class Launcher extends Activity
|
|||||||
if (mOnResumeState == State.WORKSPACE) {
|
if (mOnResumeState == State.WORKSPACE) {
|
||||||
showWorkspace(false);
|
showWorkspace(false);
|
||||||
} else if (mOnResumeState == State.APPS_CUSTOMIZE) {
|
} else if (mOnResumeState == State.APPS_CUSTOMIZE) {
|
||||||
showAllApps(false, AppsCustomizePagedView.ContentType.Applications, false);
|
showAllApps(false, mAppsCustomizeContent.getContentType(), false);
|
||||||
}
|
}
|
||||||
mOnResumeState = State.NONE;
|
mOnResumeState = State.NONE;
|
||||||
|
|
||||||
@@ -1770,7 +1770,8 @@ public class Launcher extends Activity
|
|||||||
|
|
||||||
// Save the current AppsCustomize tab
|
// Save the current AppsCustomize tab
|
||||||
if (mAppsCustomizeTabHost != null) {
|
if (mAppsCustomizeTabHost != null) {
|
||||||
String currentTabTag = mAppsCustomizeTabHost.getCurrentTabTag();
|
AppsCustomizePagedView.ContentType type = mAppsCustomizeContent.getContentType();
|
||||||
|
String currentTabTag = mAppsCustomizeTabHost.getTabTagForContentType(type);
|
||||||
if (currentTabTag != null) {
|
if (currentTabTag != null) {
|
||||||
outState.putString("apps_customize_currentTab", currentTabTag);
|
outState.putString("apps_customize_currentTab", currentTabTag);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user