diff options
author | Tracy Zhou <tracyzhou@google.com> | 2019-06-07 17:02:53 -0700 |
---|---|---|
committer | Tracy Zhou <tracyzhou@google.com> | 2019-06-13 15:49:47 -0700 |
commit | 7974a7d6fb77c11c0b7b3cb17f4b2aee4c73bff1 (patch) | |
tree | 52013ebc26fd2b83b122a5ab7a13f5f9a5d73562 /startop/scripts/lib/cmd_utils.py | |
parent | 7983bfb3e6a59ad2a97cc5a6a57756dcecbf8638 (diff) |
Fix rotation button background not showing after first boot.
KeyButtonView#setDarkIntensity() does not initialize mHasOvalBg and
mOvalBgPaint until the drawable is attached to the view, which happens
after KeyButtonView#draw() is called in the first run.
Test: Reboot, make sure background of the rotation button shows at first
run
Fixes: 134070810
Change-Id: Ib38660cde691f3d36f502023ffe082f0becd95eb
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions