Add additional call to onStop() to stablize PIP position.

Bug: 110799409
Test: Manual
Change-Id: I361eeadbf298bb239d8e373f3c6fa49d1f2410a6
This commit is contained in:
Tracy Zhou
2018-06-26 14:19:02 -07:00
parent c9a7c50fac
commit 626467130f

View File

@@ -741,6 +741,8 @@ public class Launcher extends BaseDraggingActivity implements LauncherExterns,
NotificationListener.removeNotificationsChangedListener();
getStateManager().moveToRestState();
UiFactory.onLauncherStateOrResumeChanged(this);
// Workaround for b/78520668, explicitly trim memory once UI is hidden
onTrimMemory(TRIM_MEMORY_UI_HIDDEN);
}