Merge "Tweak live tile rotation handling" into sc-dev am: 694734f133 am: e82c404eb9

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15023837

Change-Id: I76ea8ff6375b04fabb66fe9f93c9fe45296797e3
This commit is contained in:
Winson Chung
2021-06-24 23:59:13 +00:00
committed by Automerger Merge Worker
4 changed files with 66 additions and 22 deletions
@@ -158,6 +158,14 @@ public class RecentsAnimationController {
});
}
/**
* @see IRecentsAnimationController#cleanupScreenshot()
*/
@UiThread
public void cleanupScreenshot() {
UI_HELPER_EXECUTOR.execute(() -> mController.cleanupScreenshot());
}
/**
* @see RecentsAnimationControllerCompat#detachNavigationBarFromApp
*/
@@ -174,6 +182,14 @@ public class RecentsAnimationController {
UI_HELPER_EXECUTOR.execute(() -> mController.animateNavigationBarToApp(duration));
}
/**
* @see IRecentsAnimationController#setWillFinishToHome(boolean)
*/
@UiThread
public void setWillFinishToHome(boolean willFinishToHome) {
UI_HELPER_EXECUTOR.execute(() -> mController.setWillFinishToHome(willFinishToHome));
}
/**
* Sets the final surface transaction on a Task. This is used by Launcher to notify the system
* that animating Activity to PiP has completed and the associated task surface should be