Skip to content

Commit a27551d

Browse files
chethaaseAndroid (Google) Code Review
authored andcommitted
Merge "Make Google search panel go away when receiving phone call" into jb-dev
2 parents 7cbe645 + ff20b0c commit a27551d

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
@@ -1053,6 +1053,8 @@ public void animateCollapse(boolean excludeRecents, float velocityMultiplier) {
10531053
mHandler.removeMessages(MSG_CLOSE_RECENTS_PANEL);
10541054
mHandler.sendEmptyMessage(MSG_CLOSE_RECENTS_PANEL);
10551055
}
1056+
mHandler.removeMessages(MSG_CLOSE_SEARCH_PANEL);
1057+
mHandler.sendEmptyMessage(MSG_CLOSE_SEARCH_PANEL);
10561058

10571059
if (!mExpandedVisible) {
10581060
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)