diff options
author | jackqdyulei <jackqdyulei@google.com> | 2017-10-19 11:05:09 -0700 |
---|---|---|
committer | jackqdyulei <jackqdyulei@google.com> | 2017-10-19 11:43:54 -0700 |
commit | 4b7f43bcae20e5fe0f452098c70359e6d54885c5 (patch) | |
tree | 7daf9745ed8633976546a54244ef3a997fdeda25 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | db768d45e0f9d3fb9928257324249a9cdad7b539 (diff) |
Reuse the BluetoothBatteryDrawable in QS detail
BluetoothBatteryDrawable creates the drawable lazily using
the latest(and most correct) context. So it could get the
correct color from the theme.
Also add iconScale field in BluetoothBatteryDrawable so the size
of the battery icon could be scaled.
Bug: 67377756
Test: Manual - connected to bluetooth headphone and open the qs
page and detail page. Retest it after changing it to dark theme.
Change-Id: Ic6c871985a89a503221755eed4bc2605ab53f630
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions