Merge "Prevent PiP movement while the resize animation is running."

This commit is contained in:
Winson Chung
2017-03-03 17:28:42 +00:00
committed by Android (Google) Code Review
10 changed files with 126 additions and 4 deletions

View File

@@ -522,6 +522,7 @@ interface IActivityManager {
void startLocalVoiceInteraction(in IBinder token, in Bundle options);
void stopLocalVoiceInteraction(in IBinder token);
boolean supportsLocalVoiceInteraction();
void notifyPinnedStackAnimationStarted();
void notifyPinnedStackAnimationEnded();
void removeStack(int stackId);
void makePackageIdle(String packageName, int userId);

View File

@@ -37,6 +37,11 @@ oneway interface ITaskStackListener {
*/
void onPinnedActivityRestartAttempt(String launchedFromPackage);
/**
* Called whenever the pinned stack is starting animating a resize.
*/
void onPinnedStackAnimationStarted();
/**
* Called whenever the pinned stack is done animating a resize.
*/

View File

@@ -38,6 +38,10 @@ public abstract class TaskStackListener extends ITaskStackListener.Stub {
public void onPinnedActivityRestartAttempt(String launchedFromPackage) throws RemoteException {
}
@Override
public void onPinnedStackAnimationStarted() throws RemoteException {
}
@Override
public void onPinnedStackAnimationEnded() throws RemoteException {
}