Fix tv pip killed on configuration changed
Bug: 246954854 Test: manual - change language and see PiP is still there Change-Id: I8d984060c67b385d43c3c84b2289e8186dcd263e
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user