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

This commit is contained in:
Winson Chung
2022-08-05 21:07:45 +00:00
committed by Android (Google) Code Review

View File

@@ -158,9 +158,9 @@ public class Transitions implements RemoteCallable<Transitions> {
private void onInit() {
// 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.
mHandlers.add(mRemoteTransitionHandler);
mHandlers.add(1, mRemoteTransitionHandler);
ContentResolver resolver = mContext.getContentResolver();
mTransitionAnimationScaleSetting = Settings.Global.getFloat(resolver,