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
This commit is contained in:
+1
@@ -81,6 +81,7 @@ final class AppToOverviewAnimationProvider<T extends BaseDraggingActivity> imple
|
||||
});
|
||||
factory.onRemoteAnimationReceived(null);
|
||||
factory.createActivityController(RECENTS_LAUNCH_DURATION);
|
||||
factory.setRecentsAttachedToAppWindow(true, false);
|
||||
mActivity = activity;
|
||||
mRecentsView = mActivity.getOverviewPanel();
|
||||
return false;
|
||||
|
||||
@@ -99,6 +99,7 @@ public class OverviewCommandHelper {
|
||||
|
||||
@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) {
|
||||
|
||||
Reference in New Issue
Block a user