Merge "Fix registering PiP transition calback in PipManager multiple times" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
721bf68ba6
@@ -289,7 +289,6 @@ public class PipManager implements BasePipManager, PipTaskOrganizer.PipTransitio
|
|||||||
|
|
||||||
mMediaSessionManager =
|
mMediaSessionManager =
|
||||||
(MediaSessionManager) mContext.getSystemService(Context.MEDIA_SESSION_SERVICE);
|
(MediaSessionManager) mContext.getSystemService(Context.MEDIA_SESSION_SERVICE);
|
||||||
mPipTaskOrganizer.registerPipTransitionCallback(this);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
WindowManagerWrapper.getInstance().addPinnedStackListener(mPinnedStackListener);
|
WindowManagerWrapper.getInstance().addPinnedStackListener(mPinnedStackListener);
|
||||||
|
|||||||
Reference in New Issue
Block a user