Loading packages/SystemUI/shared/src/com/android/systemui/shared/system/ActivityManagerWrapper.java +2 −1 Original line number Diff line number Diff line Loading @@ -236,7 +236,8 @@ public class ActivityManagerWrapper { @Override public void onAnimationCanceled(boolean deferredWithScreenshot) { animationHandler.onAnimationCanceled(deferredWithScreenshot); animationHandler.onAnimationCanceled( deferredWithScreenshot ? new ThumbnailData() : null); } }; } Loading packages/SystemUI/shared/src/com/android/systemui/shared/system/RecentsAnimationListener.java +3 −1 Original line number Diff line number Diff line Loading @@ -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 { /** Loading @@ -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); } Loading
packages/SystemUI/shared/src/com/android/systemui/shared/system/ActivityManagerWrapper.java +2 −1 Original line number Diff line number Diff line Loading @@ -236,7 +236,8 @@ public class ActivityManagerWrapper { @Override public void onAnimationCanceled(boolean deferredWithScreenshot) { animationHandler.onAnimationCanceled(deferredWithScreenshot); animationHandler.onAnimationCanceled( deferredWithScreenshot ? new ThumbnailData() : null); } }; } Loading
packages/SystemUI/shared/src/com/android/systemui/shared/system/RecentsAnimationListener.java +3 −1 Original line number Diff line number Diff line Loading @@ -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 { /** Loading @@ -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); }