commit | 4d18a2e4a9cf0e5f7b78c2f5dda2a1fc9c90e4ff | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Tue Dec 19 19:08:05 2017 +0100 |
committer | Adrian Roos <roosa@google.com> | Mon Jan 15 15:37:02 2018 +0100 |
tree | a2f66d93b87ef507ce55c203dd79d0a86fff8a5a | |
parent | 30f5321310bbf7d5fdda21d336afd9f76aecbdfc [diff] |
Move letterboxing to AppWinToken Both letterboxes for filling the DisplayCutout area and to satisfy maxAspectRatio constraints are moved to AppWindowToken. Bug: 65689439 Test: adb shell cmd overlay enable com.android.internal.display.cutout.emulation && adb shell stop && adb shell start; verify Launcher has a black bar Test: on a 18:9 device, open a legacy app. Ensure it has a proper max aspect ratio letterbox. Change-Id: I8fd7802ce5ce14b8aa71232c62dc4283351b3021