diff options
author | Mariia Sandrikova <mariiasand@google.com> | 2021-02-02 01:20:26 +0000 |
---|---|---|
committer | Mariia Sandrikova <mariiasand@google.com> | 2021-02-02 23:54:25 +0000 |
commit | c0f663fd35ffb995371a816b0b74e1771abe443f (patch) | |
tree | b15fd35eecdfa0d02965f23cbfb7462c33d3c6cf /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5e8177bf787c384f914fa9bb388a871afd6e25fa (diff) |
Configurable letterbox background.
Allow three types of the letterbox wallpaper:
- Solid background using color specified in R.color.config_letterboxBackgroundColorSolid color
- Color specified in R.attr.colorBackground for the letterboxed application
- Color specified in R.attr.colorBackgroundFloating for the letterboxed application
Also, adding ADB commands for each config value:
- adb shell cmd window set-letterbox-background-color [reset|color]
- adb shell cmd window get-letterbox-background-color
- adb shell cmd window set-letterbox-background-type [reset|solid_color|app_color_background|app_color_background_floating]
- adb shell cmd window get-letterbox-background-type
Test: manual with ADB commands, atest LetterboxTest
Fix: 179088234
Change-Id: I23cf0b52c9f95d1f92255731bc7be165a575c7cd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions