commit | 7974a7d6fb77c11c0b7b3cb17f4b2aee4c73bff1 | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Fri Jun 07 17:02:53 2019 -0700 |
committer | Tracy Zhou <tracyzhou@google.com> | Thu Jun 13 15:49:47 2019 -0700 |
tree | 52013ebc26fd2b83b122a5ab7a13f5f9a5d73562 | |
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