From 68f51e776e4f94919d5aa0f94cb4da2f7bcb36f0 Mon Sep 17 00:00:00 2001 From: Samuel Fufa Date: Mon, 13 Apr 2020 11:50:39 -0700 Subject: [PATCH] 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 --- .../android/launcher3/hybridhotseat/HotseatEduController.java | 1 + 1 file changed, 1 insertion(+) 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 f9070893ab..78cc2dcde8 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 @@ public class HotseatEduController { 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);