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

Commit 59405621 authored by Galia Peycheva's avatar Galia Peycheva
Browse files

Fix tv pip killed on configuration changed

Bug: 246954854
Test: manual - change language and see PiP is still there
Change-Id: I8d984060c67b385d43c3c84b2289e8186dcd263e
parent 56b349d2
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -240,12 +240,6 @@ public class TvPipController implements PipTransitionController.PipTransitionCal
        ProtoLog.d(ShellProtoLogGroup.WM_SHELL_PICTURE_IN_PICTURE,
                "%s: onConfigurationChanged(), state=%s", TAG, stateToName(mState));

        if (isPipShown()) {
            ProtoLog.d(ShellProtoLogGroup.WM_SHELL_PICTURE_IN_PICTURE,
                    "%s:  > closing Pip.", TAG);
            closePip();
        }

        loadConfigurations();
        mPipNotificationController.onConfigurationChanged(mContext);
        mTvPipBoundsAlgorithm.onConfigurationChanged(mContext);