summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorTracy Zhou <tracyzhou@google.com>2019-04-09 21:06:28 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-04-09 21:06:28 +0000
commit966860dbaeaca0bce563ae230ae16ec17fbea9b3 (patch)
tree5812e82877adc081d89762267f315b4c90073cc1 /core/java/android
parent35ed6c34c7274333911b4add55c29aa8e5538cf7 (diff)
parent9c675d4f4b682fd1f18a7dcc52559516214f9c5e (diff)
Merge "Implement the new PiP animation (fade-in)." into qt-dev
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/view/IRecentsAnimationController.aidl4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/view/IRecentsAnimationController.aidl b/core/java/android/view/IRecentsAnimationController.aidl
index 597b34bf8554..956161acd762 100644
--- a/core/java/android/view/IRecentsAnimationController.aidl
+++ b/core/java/android/view/IRecentsAnimationController.aidl
@@ -41,9 +41,11 @@ interface IRecentsAnimationController {
* with remote animation targets should be relinquished. If {@param moveHomeToTop} is true, then
* the home activity should be moved to the top. Otherwise, the home activity is hidden and the
* user is returned to the app.
+ * @param sendUserLeaveHint If set to true, {@link Activity#onUserLeaving} will be sent to the
+ * top resumed app, false otherwise.
*/
@UnsupportedAppUsage
- void finish(boolean moveHomeToTop);
+ void finish(boolean moveHomeToTop, boolean sendUserLeaveHint);
/**
* Called by the handler to indicate that the recents animation input consumer should be