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: I074e33f790758400825ee4aa34f9628207d71f96
This commit is contained in:
@@ -1075,9 +1075,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