Merge commit 'e3895ae9212d8654af10983cbf62206ead02ec24' * commit 'e3895ae9212d8654af10983cbf62206ead02ec24': Fixes #1921372. Pressing Home with the window shade down would show gestures pad.
This commit is contained in:
committed by
The Android Open Source Project
commit
b0e4ad7422
@@ -869,7 +869,8 @@ public final class Launcher extends Activity implements View.OnClickListener, On
|
||||
if ((intent.getFlags() & Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT) !=
|
||||
Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT) {
|
||||
|
||||
if (mGesturesPanel != null && mDragLayer.getWindowVisibility() == View.VISIBLE) {
|
||||
if (mGesturesPanel != null && mDragLayer.getWindowVisibility() == View.VISIBLE &&
|
||||
mDragLayer.hasWindowFocus()) {
|
||||
SearchManager searchManager =
|
||||
(SearchManager) getSystemService(Context.SEARCH_SERVICE);
|
||||
if (!searchManager.isVisible()) {
|
||||
|
||||
Reference in New Issue
Block a user