Merge "Prevent PiP movement while the resize animation is running."
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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 {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user