Adds launcher-side support for the SmartSpace shared element transition.

This adds a new SmartSpaceTransitionController, which Launcher uses to register its SmartSpace with SysUI so that SysUI can manipulate it during an unlock animation.

Bug: 187025480
Test: manual with all the different lock types
Change-Id: I8ebf33e1a253e90f97875548113106cd828721e0
This commit is contained in:
Josh Tsuji
2021-05-07 18:39:38 -04:00
parent eed1711038
commit 9681849b16
3 changed files with 37 additions and 4 deletions

View File

@@ -184,7 +184,7 @@ public abstract class BaseQuickstepLauncher extends Launcher
}
@Override
protected void onUiChangedWhileSleeping() {
public void onUiChangedWhileSleeping() {
// Remove the snapshot because the content view may have obvious changes.
UI_HELPER_EXECUTOR.execute(
() -> ActivityManagerWrapper.getInstance().invalidateHomeTaskSnapshot(this));