summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
authorSelim Cinek <cinek@google.com>2018-06-13 18:23:45 -0700
committerSelim Cinek <cinek@google.com>2018-06-15 10:35:03 -0700
commitf4b04ae0bb9a24faaaadb21c7e1c89e78a540fd0 (patch)
tree925db118ade41cc2692c64e89a123ac8786d314b /libs/hwui/ProgramCache.cpp
parentd54c3a3036430043e6408a6d5de3a09885fdf474 (diff)
Fixed an issue where the contentHeight was wrong
The content height was using the regular topPadding which factored in the darkAmount, but wasn't updating the contentHeight. Since updating the contentHeight is pretty expensive, we are now using the regular topPadding whenever the lock screen isn't fully dark, which will make sure that everything is properly positioned and not faded. Change-Id: Ida9f29443efc1eb80924b0e755ea5338adfe23f7 Fixes: 110091926 Test: adb shell setprop debug.force_no_blanking true and observe proper layout after animations
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions