Skip to content
Commit 8a68368b authored by Chris Li's avatar Chris Li
Browse files

Use the app request aspect ratio for Task letterboxing

Before, when app requests fix orientation with aspect ratio, it will
first be letterboxed at Task level with display ratio, and then be
letterboxed at Activity level with request ratio, which may become too
small (fill neither of display width and height).

This change is to have Task level letterboxing use the app request
aspect ratio (if set) instead of display ratio.

Bug: 170725334
Bug: 155431879
Test: atest WmTests:SizeCompatTests
Test: manual: adb shell wm set-ignore-orientation-request true
Change-Id: I568db28125fa11c2a78ff4d6930abb49ca3fffe8
parent d5f2cd95
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment