Skip to content
Commit 53f705fb authored by Chris Li's avatar Chris Li
Browse files

Task level letterboxing for cold start with ignore orientation request

1. Return false for handlesOrientationChangeFromDescendant() when
ignoring orientation request, so Task will be letterboxed on cold start.
2. When Task is letterboxed, CompatDisplayInsets should use the Task
size instead.
3. ShellTaskOrganizer places FULLSCREEN Task to (0,0), which doesn't
work well with task level letterboxing.

Bug: 170725334
Bug: 155431879
Test: atest WmTests:SizeCompatTests
Test: manual: adb shell wm set-ignore-orientation-request true
Change-Id: Ifdc30fd5e52df5db11bef80d1a124e017ce146b6
parent 42e40336
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