commit | 68f51e776e4f94919d5aa0f94cb4da2f7bcb36f0 | [log] [tgz] |
---|---|---|
author | Samuel Fufa <sfufa@google.com> | Mon Apr 13 11:50:39 2020 -0700 |
committer | Samuel Fufa <sfufa@google.com> | Mon Apr 13 20:12:14 2020 +0000 |
tree | 645caed170d4c57d298e933c39fe91e7e4140711 | |
parent | 8f40d00a5da0e32c89f20dfa2d49ee00115a1a57 [diff] |
Show migrated items on the last page If the hotseat migration is unable to find an existing page, it creates a new page and move the items there. This is fixing an issue where items migrated to a new page don't show up as we are using mLauncher.bindAppsAdded instead of rebinding the workspace. Bug: 142753423 Test: Manual Change-Id: Ia812585f28b9b7e3e6cb4966770a1996eadd03a5
diff --git a/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/HotseatEduController.java b/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/HotseatEduController.java index f907089..78cc2dc 100644 --- a/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/HotseatEduController.java +++ b/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/HotseatEduController.java
@@ -200,6 +200,7 @@ pageId = LauncherSettings.Settings.call(mLauncher.getContentResolver(), LauncherSettings.Settings.METHOD_NEW_SCREEN_ID) .getInt(LauncherSettings.Settings.EXTRA_VALUE); + mNewScreens = IntArray.wrap(pageId); } for (int i = 0; i < mLauncher.getDeviceProfile().inv.numHotseatIcons; i++) { View child = mHotseat.getChildAt(i, 0);