summaryrefslogtreecommitdiffstats
path: root/go/quickstep
diff options
context:
space:
mode:
authorKevin <kevhan@google.com>2019-05-08 18:21:36 -0700
committerKevin <kevhan@google.com>2019-05-08 18:23:52 -0700
commitcde60e24b0b73dee989f5b7d3ae7e2000d77f822 (patch)
treea1ffb34ccfd25ddbcfb3920a946bf992f4495821 /go/quickstep
parent33a2946b7ff02d9e1281d4fd8b95e46fd8df6fa7 (diff)
downloadandroid_packages_apps_Trebuchet-cde60e24b0b73dee989f5b7d3ae7e2000d77f822.tar.gz
android_packages_apps_Trebuchet-cde60e24b0b73dee989f5b7d3ae7e2000d77f822.tar.bz2
android_packages_apps_Trebuchet-cde60e24b0b73dee989f5b7d3ae7e2000d77f822.zip
Fix fallback recents not updating list from app
When launching an from recents, onStop is not called until the app is fully taken over and the remote animation finishes. As a result, if the user hits the overview button right before the animation finishes, we animate back to recents but never call onStart which is where we hook in to update the recents list. The fix naturally is to move this to onResume instead as once the animation begins, the activity is paused. Bug: 132293341 Test: Repro from bug, correctly updates Change-Id: Ie6cfdc4d5aa6b1742a3bce3e14ab5ab6a4f05526
Diffstat (limited to 'go/quickstep')
-rw-r--r--go/quickstep/src/com/android/quickstep/RecentsActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/quickstep/src/com/android/quickstep/RecentsActivity.java b/go/quickstep/src/com/android/quickstep/RecentsActivity.java
index 9fb80679e..34315f3b7 100644
--- a/go/quickstep/src/com/android/quickstep/RecentsActivity.java
+++ b/go/quickstep/src/com/android/quickstep/RecentsActivity.java
@@ -67,8 +67,8 @@ public final class RecentsActivity extends BaseRecentsActivity {
}
@Override
- protected void onStart() {
+ protected void onResume() {
mIconRecentsView.onBeginTransitionToOverview();
- super.onStart();
+ super.onResume();
}
}