Register remote transitions on activity start
Was only registering once, but launcher can stop/start
its activity (eg when changing gesture modes), so we
need to try and re-register every time
Bug: 200213691
Test: atest CloseAppHomeButtonTest
change gesture mode and observe functional animations
Change-Id: I29f1eb647c2168d753e37f57657906979c5518be
This commit is contained in:
@@ -179,12 +179,6 @@ public class TouchInteractionService extends Service implements PluginListener<O
|
||||
smartspaceTransitionController);
|
||||
TouchInteractionService.this.initInputMonitor();
|
||||
preloadOverview(true /* fromInit */);
|
||||
mDeviceState.runOnUserUnlocked(() -> {
|
||||
final BaseActivityInterface ai =
|
||||
mOverviewComponentObserver.getActivityInterface();
|
||||
if (ai == null) return;
|
||||
ai.onOverviewServiceBound();
|
||||
});
|
||||
});
|
||||
sIsInitialized = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user