Merge "Fix multi-dimen app transition delay tron event"
This commit is contained in:
@@ -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
|
||||
@@ -63,6 +64,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.
|
||||
@@ -121,20 +128,14 @@ public abstract class ActivityManagerInternal {
|
||||
IVoiceInteractionSession mSession,
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user