diff options
| author | 2018-03-15 15:41:13 +0100 | |
|---|---|---|
| committer | 2018-03-19 16:01:38 +0100 | |
| commit | 23df3a3cd3c301533b25e074c509262610c2f7d1 (patch) | |
| tree | df90bbf1bb02b1b86771b57c0d1dc6c27d6125b1 /libs/hwui/Program.cpp | |
| parent | 31ac587b432eb7eabe9dd5fd7b75a3abfa4d6118 (diff) | |
Letterboxing: ensure bar contrast
Ensures that any bars that draw over a letterbox draw their own
background such that they always have contrast.
This fixes an issue, where if a light status / navigation bar app was
letterboxed, the bar would still draw dark icons over the now black
letterbox, making the icons unreadable.
To do so, splits the letterbox into a layout and an apply surface
changes phase.
Change-Id: Ia8afa3386d75d9a72434d701b867c3ebc35cc36f
Fixes: 72696928
Test: Open a letterboxed app with a white navigation bar, verify it is visible
Test: ApiDemos > App > Activity > Max Aspect Ratio > 1:1, verify navbar is visible
Diffstat (limited to 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions