diff options
| author | 2024-03-04 16:31:20 -0500 | |
|---|---|---|
| committer | 2024-03-05 16:19:36 -0500 | |
| commit | bcc3fa25c7240e21684bd505c830d9c704d0b422 (patch) | |
| tree | 12408aead3cc633bbddff2ef25419ff030b84842 /native/android/input.cpp | |
| parent | c2044fe50d42b85ba4564ac69e864c01d49346cc (diff) | |
[Sb] Properly inflate the estimate view
The previous CL created the estimate view, but never added it to the
parent view, and thus was never shown.
Also, this CL slightly reworks the logic for showing percent, since the
slow case is still done on the main thread, but we can skip it in some
circumstances.
Test: manual
Test: BatteryMeterViewTest
Bug: 314812750
Flag: ACONFIG com.android.settingslib.flags.new_status_bar_icons DEVELOPMENT
Change-Id: I5ad19ac9d95a81a0b149dbf4b0b420d47092f979
Diffstat (limited to 'native/android/input.cpp')
0 files changed, 0 insertions, 0 deletions