diff options
| author | 2017-12-19 19:08:05 +0100 | |
|---|---|---|
| committer | 2018-01-15 15:37:02 +0100 | |
| commit | 4d18a2e4a9cf0e5f7b78c2f5dda2a1fc9c90e4ff (patch) | |
| tree | a2f66d93b87ef507ce55c203dd79d0a86fff8a5a /native/android/configuration.cpp | |
| 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
Diffstat (limited to 'native/android/configuration.cpp')
0 files changed, 0 insertions, 0 deletions