Skip to content
Commit fe16a37d authored by Garfield Tan's avatar Garfield Tan
Browse files

Return bounds when it's in fullscreen display.

These bounds won't be applied to the task when the windowing mode isn't
freeform. Rather, they will be applied to the last non-fullscreen bounds
which would be used to restore it back to the old bounds when display
changes to freeform.

Also fixed the unit test for this particular case.

Bug: 135941344
Bug: 135780225
Test: Manual tests on devices where display windowing mode may change at
runtime.
Test: atest WmTests:TaskLaunchParamsModifierTests

Change-Id: I137c9ab754fae6d50f61e55a19f931d03477d9b2
parent e1c38e1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment