Merge "Change RecentsAnimationListenerSet interface" into qt-qpr1-dev

am: 1ed86c9cf1

Change-Id: Iccd776274be859c956173be23ad653f4b51faa58
This commit is contained in:
Tracy Zhou
2019-08-01 19:13:22 -07:00
committed by android-build-merger
2 changed files with 5 additions and 2 deletions

View File

@@ -236,7 +236,8 @@ public class ActivityManagerWrapper {
@Override
public void onAnimationCanceled(boolean deferredWithScreenshot) {
animationHandler.onAnimationCanceled(deferredWithScreenshot);
animationHandler.onAnimationCanceled(
deferredWithScreenshot ? new ThumbnailData() : null);
}
};
}

View File

@@ -18,6 +18,8 @@ package com.android.systemui.shared.system;
import android.graphics.Rect;
import com.android.systemui.shared.recents.model.ThumbnailData;
public interface RecentsAnimationListener {
/**
@@ -29,5 +31,5 @@ public interface RecentsAnimationListener {
/**
* Called when the animation into Recents was canceled. This call is made on the binder thread.
*/
void onAnimationCanceled(boolean deferredWithScreenshot);
void onAnimationCanceled(ThumbnailData thumbnailData);
}