mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Merge "[AA+] Reset search manager when exiting all apps." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e57006fe63
@@ -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