commit | 8f06d2e254c8db838227ac25f296689dba43088d | [log] [tgz] |
---|---|---|
author | Mariia Sandrikova <mariiasand@google.com> | Tue Aug 24 22:14:14 2021 +0100 |
committer | Mariia Sandrikova <mariiasand@google.com> | Tue Aug 24 22:19:01 2021 +0100 |
tree | 0aa9065ec56a2e8a80818d9c56b4b91cd097d26e | |
parent | 11db47cd349438dee75dbfe88cdaaa6f63e47dae [diff] |
Support dynamic material color for letterbox background. - Use SystemUI context to access overlays with material colors extracted from wallpaper. - Allow to set color with a resource name via an ADB command. - Set background color to system_neutral2_500 Bug: 197361088 Test: atest WmTest:SizeCompatTests and manual with adb shell cmd window set-letterbox-style --backgroundColorResource @android:color/resource_name Change-Id: I6aa593b6697fc9846542739427eb09168cdb038b