commit | 45c12ff1b5d7ffcd7cf7ce21cc05fb93df9df140 | [log] [tgz] |
---|---|---|
author | Vinit Nayak <peanutbutter@google.com> | Tue Jul 30 15:33:12 2019 -0700 |
committer | Vinit Nayak <peanutbutter@google.com> | Wed Jul 31 20:10:55 2019 +0000 |
tree | 57870f220a7c60e122611382feb2048fd131d783 | |
parent | c86a6ebbc54f56583ee6503c6604433d44461984 [diff] |
Set recents view to be visible from alt+tab Recents was being initialized but was not marked as attached to app window. This was causing it's animator to never make it View.VISIBLE. Test: Open any app On physical keyboard press alt+tab Observe that overview shows up fixes: 138396234 Change-Id: I9e6c001242f4552027e79b162fb812f476823a37
diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/AppToOverviewAnimationProvider.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/AppToOverviewAnimationProvider.java index 5e77e0a..5ebefa3 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/AppToOverviewAnimationProvider.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/AppToOverviewAnimationProvider.java
@@ -81,6 +81,7 @@ }); factory.onRemoteAnimationReceived(null); factory.createActivityController(RECENTS_LAUNCH_DURATION); + factory.setRecentsAttachedToAppWindow(true, false); mActivity = activity; mRecentsView = mActivity.getOverviewPanel(); return false;
diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/OverviewCommandHelper.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/OverviewCommandHelper.java index 6533c63..a94f25d 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/OverviewCommandHelper.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/OverviewCommandHelper.java
@@ -99,6 +99,7 @@ @Override protected void onTransitionComplete() { + // TODO(b/138729100) This doesn't execute first time launcher is run if (mTriggeredFromAltTab) { RecentsView rv = (RecentsView) mHelper.getVisibleRecentsView(); if (rv == null) {