summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/statusbar/StatusBarBluetoothView.java
Commit message (Collapse)AuthorAgeFilesLines
* SystemUI: Use red color for low bluetooth batteryAdithya R2022-10-261-2/+15
| | | | | | | | Matches battery saver icon (android:attr/colorError). Preview: https://i.imgur.com/yJuAaNN.png Change-Id: Icfba3b4ee838f0859d0bd429bfb31bb222009809 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* SystemUI: Refactor statusbar bluetooth iconAdithya R2022-10-261-0/+235
Move it to its own layout like wifi and mobile, and separate the bluetooth connected and battery icons. This allows us to use bluetooth connected icon from icon packs, and also color the battery icon when its at low battery (in the next change). While we're at it, simplify the logic used to determine drawable from battery level, and also add icon for <10% battery. Change-Id: I5dd50d84497816484e1c33a7432a3d85c3a7f79d Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>