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

Commit 5d5cae6c authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Ensure default and remote transition handlers are first" into tm-qpr-dev

parents 9889b084 cc5e0d2b
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -158,9 +158,9 @@ public class Transitions implements RemoteCallable<Transitions> {


    private void onInit() {
    private void onInit() {
        // The very last handler (0 in the list) should be the default one.
        // The very last handler (0 in the list) should be the default one.
        mHandlers.add(mDefaultTransitionHandler);
        mHandlers.add(0, mDefaultTransitionHandler);
        // Next lowest priority is remote transitions.
        // Next lowest priority is remote transitions.
        mHandlers.add(mRemoteTransitionHandler);
        mHandlers.add(1, mRemoteTransitionHandler);


        ContentResolver resolver = mContext.getContentResolver();
        ContentResolver resolver = mContext.getContentResolver();
        mTransitionAnimationScaleSetting = Settings.Global.getFloat(resolver,
        mTransitionAnimationScaleSetting = Settings.Global.getFloat(resolver,