Hide assist when launching an activity over an action
Also make sure to resume app switches in this case. Bug: 22071080 Change-Id: Ib30e064f4a5d0768b608e23183a34e326ada32e6
This commit is contained in:
@@ -303,6 +303,7 @@ public abstract class BaseStatusBar extends SystemUI implements
|
||||
try {
|
||||
ActivityManagerNative.getDefault()
|
||||
.keyguardWaitingForActivityDrawn();
|
||||
ActivityManagerNative.getDefault().resumeAppSwitches();
|
||||
} catch (RemoteException e) {
|
||||
}
|
||||
}
|
||||
@@ -315,7 +316,9 @@ public abstract class BaseStatusBar extends SystemUI implements
|
||||
animateCollapsePanels(CommandQueue.FLAG_EXCLUDE_RECENTS_PANEL,
|
||||
true /* force */);
|
||||
visibilityChanged(false);
|
||||
mAssistManager.hideAssist();
|
||||
}
|
||||
|
||||
// Wait for activity start.
|
||||
return handled;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user