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

Commit eb9830b0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Ensure session listener is only registered once on init" into main

parents 604b191b 3529ad47
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -722,7 +722,9 @@ public class PipController implements PipTransitionController.PipTransitionCallb
                    });
                    });
        });
        });


        if (!ShellController.FIX_MISSING_USER_CHANGE_CALLBACKS_FLAG.isTrue()) {
            mMediaController.registerSessionListenerForCurrentUser();
            mMediaController.registerSessionListenerForCurrentUser();
        }


        mShellController.addConfigurationChangeListener(this);
        mShellController.addConfigurationChangeListener(this);
        mShellController.addKeyguardChangeListener(this);
        mShellController.addKeyguardChangeListener(this);