Merge "Change RecentsAnimationListenerSet interface" into qt-qpr1-dev
am: 1ed86c9cf1
Change-Id: Iccd776274be859c956173be23ad653f4b51faa58
This commit is contained in:
@@ -236,7 +236,8 @@ public class ActivityManagerWrapper {
|
||||
|
||||
@Override
|
||||
public void onAnimationCanceled(boolean deferredWithScreenshot) {
|
||||
animationHandler.onAnimationCanceled(deferredWithScreenshot);
|
||||
animationHandler.onAnimationCanceled(
|
||||
deferredWithScreenshot ? new ThumbnailData() : null);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user