commit | f62a69b43babd482f30668b17270b7ba78931d0b | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Tue Apr 10 14:28:00 2018 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Tue Apr 10 14:28:31 2018 -0700 |
tree | bda1da3249246e30c5831b42ec6cc67bba66dfa0 | |
parent | 32d5be0285ff5672b8195080b0ac3356d09da45d [diff] |
Do not change page as a result of showOverview command Bug: 77723744 Change-Id: I7166e8da36c700cd66bbe4c20bf8618926c65b9c
diff --git a/quickstep/src/com/android/quickstep/OverviewCommandHelper.java b/quickstep/src/com/android/quickstep/OverviewCommandHelper.java index 537d8df..5563aed 100644 --- a/quickstep/src/com/android/quickstep/OverviewCommandHelper.java +++ b/quickstep/src/com/android/quickstep/OverviewCommandHelper.java
@@ -193,13 +193,7 @@ @Override protected boolean handleCommand(long elapsedTime) { - RecentsView recents = mHelper.getVisibleRecentsView(); - if (recents != null) { - recents.snapToTaskAfterNext(); - return true; - } else { - return false; - } + return mHelper.getVisibleRecentsView() != null; } }