diff options
| author | Jorim Jaggi <jjaggi@google.com> | 2017-03-14 17:09:07 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-03-14 17:09:11 +0000 |
| commit | fe712f40796123d4a2bde748bdfadfa1d8547fed (patch) | |
| tree | 0ad7657159c5fe7dbc510610ad4c072f0e46067f /core/java | |
| parent | d61691361839cdcee286fd7b58ed8adc3e32fcf5 (diff) | |
| parent | 3878ca3333da1bf5cbc83d33e5e8b3ce68c8c5e4 (diff) | |
Merge "Fix multi-dimen app transition delay tron event"
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/app/ActivityManagerInternal.java | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/core/java/android/app/ActivityManagerInternal.java b/core/java/android/app/ActivityManagerInternal.java index fa64a0f55337..b36b664d6a93 100644 --- a/core/java/android/app/ActivityManagerInternal.java +++ b/core/java/android/app/ActivityManagerInternal.java @@ -25,6 +25,7 @@ import android.content.res.Configuration; import android.os.Bundle; import android.os.IBinder; import android.service.voice.IVoiceInteractionSession; +import android.util.SparseIntArray; import com.android.internal.app.IVoiceInteractor; @@ -47,9 +48,9 @@ public abstract class ActivityManagerInternal { /** * Type for {@link #notifyAppTransitionStarting}: The transition was started because we drew - * the starting window. + * the splash screen. */ - public static final int APP_TRANSITION_STARTING_WINDOW = 1; + public static final int APP_TRANSITION_SPLASH_SCREEN = 1; /** * Type for {@link #notifyAppTransitionStarting}: The transition was started because we all @@ -64,6 +65,12 @@ public abstract class ActivityManagerInternal { public static final int APP_TRANSITION_TIMEOUT = 3; /** + * Type for {@link #notifyAppTransitionStarting}: The transition was started because of a + * we drew a task snapshot. + */ + public static final int APP_TRANSITION_SNAPSHOT = 4; + + /** * Grant Uri permissions from one app to another. This method only extends * permission grants if {@code callingUid} has permission to them. */ @@ -122,19 +129,13 @@ public abstract class ActivityManagerInternal { IVoiceInteractor mInteractor); /** - * Callback for window manager to let activity manager know that the starting window has been - * drawn - */ - public abstract void notifyStartingWindowDrawn(); - - /** * Callback for window manager to let activity manager know that we are finally starting the * app transition; * - * @param reason The reason why the app transition started. Must be one of the APP_TRANSITION_* - * values. + * @param reasons A map from stack id to a reason integer why the transition was started,, which + * must be one of the APP_TRANSITION_* values. */ - public abstract void notifyAppTransitionStarting(int reason); + public abstract void notifyAppTransitionStarting(SparseIntArray reasons); /** * Callback for window manager to let activity manager know that the app transition was |
