Enable overview state restore
> Reapplying CellLayout state when new pages are added (page bind comes after restore)
> Removing support for different scroll range for freescroll (the calculations were not
consistant with maxScroll)
Bug: 67678570
Change-Id: Ic1911de1b707f2f6940e7040f07ca7e733e2ef2a
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 775dad2..e3acf70 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -1031,8 +1031,8 @@
if (!state.doNotRestore) {
if (state == LauncherState.ALL_APPS) {
showAppsView(false /* animated */);
- } else {
- // TODO: Add logic for other states
+ } else if (state == LauncherState.OVERVIEW) {
+ showOverviewMode(false);
}
}