Skip to content

Commit ff20b0c

Browse files
committed
Make Google search panel go away when receiving phone call
Issue #6557847 "Google" launcher icon stuck in ring slider after getting incoming call Change-Id: If77f66fd241af7fbfe6228498b07fd1cfcef36bd
1 parent da87c7c commit ff20b0c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,8 @@ public void animateCollapse(boolean excludeRecents, float velocityMultiplier) {
10491049
mHandler.removeMessages(MSG_CLOSE_RECENTS_PANEL);
10501050
mHandler.sendEmptyMessage(MSG_CLOSE_RECENTS_PANEL);
10511051
}
1052+
mHandler.removeMessages(MSG_CLOSE_SEARCH_PANEL);
1053+
mHandler.sendEmptyMessage(MSG_CLOSE_SEARCH_PANEL);
10521054

10531055
if (!mExpandedVisible) {
10541056
return;

packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,8 @@ private void animateCollapse(boolean excludeRecents) {
10131013
mHandler.sendEmptyMessage(MSG_CLOSE_INPUT_METHODS_PANEL);
10141014
mHandler.removeMessages(MSG_CLOSE_COMPAT_MODE_PANEL);
10151015
mHandler.sendEmptyMessage(MSG_CLOSE_COMPAT_MODE_PANEL);
1016+
mHandler.removeMessages(MSG_CLOSE_SEARCH_PANEL);
1017+
mHandler.sendEmptyMessage(MSG_CLOSE_SEARCH_PANEL);
10161018
}
10171019

10181020
@Override // CommandQueue

0 commit comments

Comments
 (0)