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

Commit 88a4eb15 authored by Issei Suzuki's avatar Issei Suzuki Committed by Android (Google) Code Review
Browse files

Merge "Removed unused methods."

parents be01c13d f1443df5
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -281,13 +281,6 @@ public class AppTransition implements Dump {
        fetchAppTransitionSpecsFromFuture();
    }

    void abort() {
        if (mRemoteAnimationController != null) {
            mRemoteAnimationController.cancelAnimation("aborted");
        }
        clear();
    }

    boolean isRunning() {
        return mAppTransitionState == APP_STATE_RUNNING;
    }
+0 −5
Original line number Diff line number Diff line
@@ -5264,11 +5264,6 @@ class DisplayContent extends RootDisplayArea implements WindowManagerPolicy.Disp
        }
    }

    void cancelAppTransition() {
        if (!mAppTransition.isTransitionSet() || mAppTransition.isRunning()) return;
        mAppTransition.abort();
    }

    /**
     * Update pendingLayoutChanges after app transition has finished.
     */