Merge "Add dock defender battery tips"

This commit is contained in:
Zhenwei Chen
2022-11-29 02:53:27 +00:00
committed by Android (Google) Code Review
23 changed files with 852 additions and 63 deletions

View File

@@ -134,7 +134,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);