Add dock defender battery tips
1. Remove the dock defender v1 code 2. Add dock defender battery tips and update corresponding list item string Bug:256523472 Test: Unit test passed and manual test on device Change-Id: Ib6c09df056744142f42f5e2a13252b58e54c7534 Signed-off-by: Zhenwei Chen <zhenwec@google.com>
This commit is contained in:
@@ -125,7 +125,7 @@ public class BatteryTestUtils {
|
||||
}
|
||||
}
|
||||
|
||||
private static Intent getCustomBatteryIntent(int plugged, int level, int scale, int status) {
|
||||
public static Intent getCustomBatteryIntent(int plugged, int level, int scale, int status) {
|
||||
Intent intent = new Intent();
|
||||
intent.putExtra(BatteryManager.EXTRA_PLUGGED, plugged);
|
||||
intent.putExtra(BatteryManager.EXTRA_LEVEL, level);
|
||||
|
Reference in New Issue
Block a user