summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorJerry Chang <chenghsiuchang@google.com>2021-11-08 10:22:34 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-11-08 10:22:34 +0000
commitb1626ac345d1e3dccddf1f403cd914166cfaea97 (patch)
tree458babb4d2e8cae15cd3b71992b1b4aa5249a622 /core/java
parent5cef72a6d6038417a2979b2c339287446c92eb93 (diff)
parent79090d69306a6a94491e1ffa8329d48ad6e4760a (diff)
Merge "Snapshot all tasks in pending recents animation when rotating devices" into sc-v2-dev
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/view/IRecentsAnimationRunner.aidl14
1 files changed, 8 insertions, 6 deletions
diff --git a/core/java/android/view/IRecentsAnimationRunner.aidl b/core/java/android/view/IRecentsAnimationRunner.aidl
index 811175566a90..aca17e448b82 100644
--- a/core/java/android/view/IRecentsAnimationRunner.aidl
+++ b/core/java/android/view/IRecentsAnimationRunner.aidl
@@ -35,15 +35,17 @@ oneway interface IRecentsAnimationRunner {
* wallpaper not drawing in time, or the handler not finishing the animation within a predefined
* amount of time.
*
- * @param taskSnapshot If the snapshot is null, the animation will be cancelled and the leash
- * will be inactive immediately. Otherwise, the contents of the task will be
- * replaced with {@param taskSnapshot}, such that the runner's leash is
- * still active. As soon as the runner doesn't need the leash anymore, it
- * must call {@link IRecentsAnimationController#cleanupScreenshot).
+ * @param taskIds Indicates tasks with cancelling snapshot.
+ * @param taskSnapshots If the snapshots is null, the animation will be cancelled and the leash
+ * will be inactive immediately. Otherwise, the contents of the tasks will
+ * be replaced with {@param taskSnapshots}, such that the runner's leash is
+ * still active. As soon as the runner doesn't need the leash anymore, it
+ * must call {@link IRecentsAnimationController#cleanupScreenshot).
*
* @see {@link RecentsAnimationController#cleanupScreenshot}
*/
- void onAnimationCanceled(in @nullable TaskSnapshot taskSnapshot) = 1;
+ void onAnimationCanceled(in @nullable int[] taskIds,
+ in @nullable TaskSnapshot[] taskSnapshots) = 1;
/**
* Called when the system is ready for the handler to start animating all the visible tasks.