summaryrefslogtreecommitdiffstats
path: root/go
diff options
context:
space:
mode:
authorKevin <kevhan@google.com>2019-03-29 16:51:13 -0700
committerKevin <kevhan@google.com>2019-04-01 12:06:43 -0700
commitb6320aeeb64abeaf413cd548db70546d6f355fa4 (patch)
treec6fc8677945181080faf98d67c6d1bb59b56502b /go
parent7f5083b7af85398f710ebc48a8a8c1b3d9db5421 (diff)
downloadandroid_packages_apps_Trebuchet-b6320aeeb64abeaf413cd548db70546d6f355fa4.tar.gz
android_packages_apps_Trebuchet-b6320aeeb64abeaf413cd548db70546d6f355fa4.tar.bz2
android_packages_apps_Trebuchet-b6320aeeb64abeaf413cd548db70546d6f355fa4.zip
Hook up Go recents view API to recents activity
Hook up onBeginTransitionToOverview for fallback recents as well by hooking it up to activity start. Bug: 114136250 Test: Go to recents for fallback recents Change-Id: I5445bce13ecf7c0dbc2f2b3ff0d8a0aee1449ae1
Diffstat (limited to 'go')
-rw-r--r--go/quickstep/src/com/android/quickstep/RecentsActivity.java4
-rw-r--r--go/quickstep/src/com/android/quickstep/views/IconRecentsView.java2
2 files changed, 1 insertions, 5 deletions
diff --git a/go/quickstep/src/com/android/quickstep/RecentsActivity.java b/go/quickstep/src/com/android/quickstep/RecentsActivity.java
index 447e7e723..f2ca368e8 100644
--- a/go/quickstep/src/com/android/quickstep/RecentsActivity.java
+++ b/go/quickstep/src/com/android/quickstep/RecentsActivity.java
@@ -67,9 +67,7 @@ public final class RecentsActivity extends BaseRecentsActivity {
@Override
protected void onStart() {
- // Set the alpha to 1 before calling super, as it may get set back to 0 due to
- // onActivityStart callback.
- mIconRecentsView.setAlpha(0);
+ mIconRecentsView.onBeginTransitionToOverview();
super.onStart();
}
}
diff --git a/go/quickstep/src/com/android/quickstep/views/IconRecentsView.java b/go/quickstep/src/com/android/quickstep/views/IconRecentsView.java
index 1e017255f..8976c4474 100644
--- a/go/quickstep/src/com/android/quickstep/views/IconRecentsView.java
+++ b/go/quickstep/src/com/android/quickstep/views/IconRecentsView.java
@@ -144,8 +144,6 @@ public final class IconRecentsView extends FrameLayout {
* Logic for when we know we are going to overview/recents and will be putting up the recents
* view. This should be used to prepare recents (e.g. load any task data, etc.) before it
* becomes visible.
- *
- * TODO: Hook this up for fallback recents activity as well
*/
public void onBeginTransitionToOverview() {
// Load any task changes