commit | 4d0d38b9f41d310a797e01aaa1db2e819379e5bd | [log] [tgz] |
---|---|---|
author | Fabrice Di Meglio <fdimeglio@google.com> | Fri May 25 11:36:03 2012 -0700 |
committer | Fabrice Di Meglio <fdimeglio@google.com> | Fri May 25 13:14:02 2012 -0700 |
tree | 9f79186a05431ad9c36318f4b011ffa1d30f7bdb | |
parent | 73bde11e624c44620819e9c93a61ca6be6e96997 [diff] [blame] |
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
diff --git a/packages/SystemUI/src/com/android/systemui/SearchPanelView.java b/packages/SystemUI/src/com/android/systemui/SearchPanelView.java index 90f94fc..a6e4487 100644 --- a/packages/SystemUI/src/com/android/systemui/SearchPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/SearchPanelView.java
@@ -106,6 +106,9 @@ } private void startAssistActivity() { + // Close Recent Apps if needed + mBar.animateCollapse(); + // Launch Assist Intent intent = getAssistIntent(); try { ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext,