Skip to content

Commit 4d0d38b

Browse files
author
Fabrice Di Meglio
committed
Fix bug #6558264 Recent apps launcher is not getting dismissed after launching Google app using long press of Home key
- close Recent Apps before launching the Assistant Change-Id: I823dc254252fb3c1fde0a3adcfb895e368c7d77e
1 parent 73bde11 commit 4d0d38b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/SystemUI/src/com/android/systemui/SearchPanelView.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ private SearchManager getSearchManager() {
106106
}
107107

108108
private void startAssistActivity() {
109+
// Close Recent Apps if needed
110+
mBar.animateCollapse();
111+
// Launch Assist
109112
Intent intent = getAssistIntent();
110113
try {
111114
ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext,

0 commit comments

Comments
 (0)