commit | 1f0baa6393f26743a9966a709b5f92816cb20419 | [log] [tgz] |
---|---|---|
author | Caitlin Cassidy <ccassidy@google.com> | Fri May 14 15:36:12 2021 +0000 |
committer | Caitlin Cassidy <ccassidy@google.com> | Mon May 17 15:10:33 2021 +0000 |
tree | d00d2aade7ee1915015395c4fc5569b2cfcf5f3a | |
parent | 54333007e9d734a7f5bc168ef2719e0c575e0ade [diff] |
[Device Controls] Fix background not showing up. Root cause was that `this` on lines 353 and 354 was referring to the ValueAnimator, not the clipLayer.getDrawable().apply{} that was started on line 330. I refactored the code a bit so it uses fewer Kotlin idioms but should be less error-prone, but let me know if you'd rather I just update lines 353 and 354 to specify which `this` it's referring to. Test: manual Fixes: 187903455 Change-Id: I3505c1fc80f7dda6d6cc318b0dfa2754171b8a2b