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

Commit 1a50cb9f authored by Robin Lee's avatar Robin Lee Committed by Automerger Merge Worker
Browse files

Merge "Revert "Pass keyguard occluded status in onAnimationCancelled."" into udc-dev am: 744c5eee

parents 8694d038 744c5eee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,5 +46,5 @@ oneway interface IRemoteAnimationRunner {
     * won't have any effect anymore.
     */
    @UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
    void onAnimationCancelled(boolean isKeyguardOccluded);
    void onAnimationCancelled();
}
+1 −4
Original line number Diff line number Diff line
@@ -83,10 +83,7 @@ class TaskFragmentAnimationRunner extends IRemoteAnimationRunner.Stub {
    }

    @Override
    public void onAnimationCancelled(boolean isKeyguardOccluded) {
        if (TaskFragmentAnimationController.DEBUG) {
            Log.v(TAG, "onAnimationCancelled: isKeyguardOccluded=" + isKeyguardOccluded);
        }
    public void onAnimationCancelled() {
        mHandler.post(this::cancelAnimation);
    }

+1 −1
Original line number Diff line number Diff line
@@ -404,7 +404,7 @@ class CrossActivityAnimation {
        }

        @Override
        public void onAnimationCancelled(boolean isKeyguardOccluded) {
        public void onAnimationCancelled() {
            finishAnimation();
        }
    }
+1 −1
Original line number Diff line number Diff line
@@ -323,7 +323,7 @@ class CustomizeActivityAnimation {
        }

        @Override
        public void onAnimationCancelled(boolean isKeyguardOccluded) {
        public void onAnimationCancelled() {
            finishAnimation();
        }
    }
+1 −1
Original line number Diff line number Diff line
@@ -460,7 +460,7 @@ public class SplitScreenController implements DragAndDropPolicy.Starter,
                }
            }
            @Override
            public void onAnimationCancelled(boolean isKeyguardOccluded) {
            public void onAnimationCancelled() {
                final WindowContainerTransaction evictWct = new WindowContainerTransaction();
                mStageCoordinator.prepareEvictInvisibleChildTasks(evictWct);
                mSyncQueue.queue(evictWct);
Loading