Reset collapsed TV PiP state for next PiP

Collapsed state should not be saved between PiPs - position is
already being reset.

Bug: 245924165
Test: manual - start expanded PiP, collapse from menu, close, open new
expanded PiP -> PiP should be expanded

Change-Id: I8e5c111acabfcc5ccd7939fd0f053e4cdb180475
This commit is contained in:
Jacqueline Bronger
2022-09-07 10:54:02 +02:00
parent 997a17f0df
commit e82eca3154

View File

@@ -87,6 +87,7 @@ public class TvPipBoundsState extends PipBoundsState {
public void resetTvPipState() {
mTvFixedPipOrientation = ORIENTATION_UNDETERMINED;
mTvPipGravity = DEFAULT_TV_GRAVITY;
mTvPipManuallyCollapsed = false;
}
/** Set the tv expanded bounds of PiP */