Merge "[AA+] Reset search manager when exiting all apps." into sc-dev am: e57006fe63
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14804874 Change-Id: Iefc4d22760359b50ce3416ed4423c31dc4ad8f2c
This commit is contained in:
@@ -1076,9 +1076,10 @@ public class Launcher extends StatefulActivity<LauncherState> implements Launche
|
||||
getRotationHelper().setCurrentStateRequest(REQUEST_NONE);
|
||||
}
|
||||
|
||||
if (mPrevLauncherState != state && !ALL_APPS.equals(state)
|
||||
if (ALL_APPS.equals(mPrevLauncherState) && !ALL_APPS.equals(state)
|
||||
// Making sure mAllAppsSessionLogId is not null to avoid double logging.
|
||||
&& mAllAppsSessionLogId != null) {
|
||||
getAppsView().getSearchUiManager().resetSearch();
|
||||
getStatsLogManager().logger().log(LAUNCHER_ALLAPPS_EXIT);
|
||||
mAllAppsSessionLogId = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user