Merge "Fix taskbar icon dragging issues"

This commit is contained in:
Schneider Victor-tulias authored and Android (Google) Code Review committed 2022-01-25 19:03:06 +00:00
commit bce63e06ed
6 files changed
+33 -9

No files matched your search

@@ -118,6 +118,13 @@ public class TaskbarManager implements DisplayController.DisplayInfoChangeListen
} else {
// Config change might be handled without re-creating the taskbar
if (mTaskbarActivityContext != null) {
DeviceProfile dp = mUserUnlocked
? LauncherAppState.getIDP(mContext).getDeviceProfile(mContext)
: null;
if (dp != null && dp.isTaskbarPresent) {
mTaskbarActivityContext.updateDeviceProfile(dp.copy(mContext));
}
mTaskbarActivityContext.onConfigurationChanged(configDiff);
}
}