diff options
author | Mariia Sandrikova <mariiasand@google.com> | 2021-03-17 15:51:19 +0000 |
---|---|---|
committer | Mariia Sandrikova <mariiasand@google.com> | 2021-04-09 23:13:19 +0100 |
commit | 947b45adc58598d6fe9bd013d488f68124ec5b48 (patch) | |
tree | aedae4dbe506a5682f9b858ef25c6b92e33d700a /core/jni/AndroidRuntime.cpp | |
parent | f906029106c2fa26d47a4f23a61cd0f4035280b2 (diff) |
Wallpaper background for letterbox.
Changes:
- Allows to request 'wallpaper' background for letterbox and to specify blur radius and alpha of dark scrim that will dim the wallpaper in config overlays or via ADB commands.
- To propagate "showing wallpaper for letterbox" property to the rest of system independently from FLAG_SHOW_WALLPAPER
- Checks mShowWallpaperForLetterboxBackground in all places where FLAG_SHOW_WALLPAPER is checked.
- Doesn't show wallpaper background when letterboxed only for display cutout.
Fix: 170215478
Fix: 181679062
Test: atest LetterboxTest and manual with ADB commands
- adb shell cmd window set-letterbox-background-type wallpaper
- adb shell cmd window set-letterbox-background-wallpaper-blur-radius <radius>
- adb shell cmd window set-letterbox-background-wallpaper-dark-scrim-alpha <alpha>
Change-Id: Ic5902b085c0a9d250107c3b5ca2d329a9f47c71b
Diffstat (limited to 'core/jni/AndroidRuntime.cpp')
0 files changed, 0 insertions, 0 deletions