Merge "Fix registering PiP transition calback in PipManager multiple times" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-09 00:00:44 +00:00
committed by Android (Google) Code Review

View File

@@ -289,7 +289,6 @@ public class PipManager implements BasePipManager, PipTaskOrganizer.PipTransitio
mMediaSessionManager =
(MediaSessionManager) mContext.getSystemService(Context.MEDIA_SESSION_SERVICE);
mPipTaskOrganizer.registerPipTransitionCallback(this);
try {
WindowManagerWrapper.getInstance().addPinnedStackListener(mPinnedStackListener);