Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e103b2b9 authored by Tracy Zhou's avatar Tracy Zhou Committed by android-build-merger
Browse files

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

am: 1ed86c9c

Change-Id: I07ecb3d89700d5c3513f2d758701bdcaf2e440aa
parents f1e30cd1 1ed86c9c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -236,7 +236,8 @@ public class ActivityManagerWrapper {

                    @Override
                    public void onAnimationCanceled(boolean deferredWithScreenshot) {
                        animationHandler.onAnimationCanceled(deferredWithScreenshot);
                        animationHandler.onAnimationCanceled(
                                deferredWithScreenshot ? new ThumbnailData() : null);
                    }
                };
            }
+3 −1
Original line number Diff line number Diff line
@@ -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);
}