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

Commit 56ff35fc authored by Issei Suzuki's avatar Issei Suzuki Committed by Automerger Merge Worker
Browse files

Merge "Pass keyguard occluded status in onAnimationCancelled." into tm-qpr-dev am: d5fec58f

parents 1a722700 d5fec58f
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();
    void onAnimationCancelled(boolean isKeyguardOccluded);
}
+2 −2
Original line number Diff line number Diff line
@@ -83,9 +83,9 @@ class TaskFragmentAnimationRunner extends IRemoteAnimationRunner.Stub {
    }

    @Override
    public void onAnimationCancelled() {
    public void onAnimationCancelled(boolean isKeyguardOccluded) {
        if (TaskFragmentAnimationController.DEBUG) {
            Log.v(TAG, "onAnimationCancelled");
            Log.v(TAG, "onAnimationCancelled: isKeyguardOccluded=" + isKeyguardOccluded);
        }
        mHandler.post(this::cancelAnimation);
    }
+2 −2
Original line number Diff line number Diff line
@@ -457,10 +457,10 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler,
            }

            @Override
            public void onAnimationCancelled() {
            public void onAnimationCancelled(boolean isKeyguardOccluded) {
                onRemoteAnimationFinishedOrCancelled(evictWct);
                try {
                    adapter.getRunner().onAnimationCancelled();
                    adapter.getRunner().onAnimationCancelled(isKeyguardOccluded);
                } catch (RemoteException e) {
                    Slog.e(TAG, "Error starting remote animation", e);
                }
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ public class LegacyTransitions {
            }

            @Override
            public void onAnimationCancelled() throws RemoteException {
            public void onAnimationCancelled(boolean isKeyguardOccluded) throws RemoteException {
                mCancelled = true;
                mApps = mWallpapers = mNonApps = null;
                checkApply();
+1 −1
Original line number Diff line number Diff line
@@ -656,7 +656,7 @@ class ActivityLaunchAnimator(
            controller.onLaunchAnimationCancelled()
        }

        override fun onAnimationCancelled() {
        override fun onAnimationCancelled(isKeyguardOccluded: Boolean) {
            if (timedOut) {
                return
            }
Loading