Index: device/battery/android/java/src/org/chromium/device/battery/BatteryStatusManager.java |
diff --git a/device/battery/android/java/src/org/chromium/device/battery/BatteryStatusManager.java b/device/battery/android/java/src/org/chromium/device/battery/BatteryStatusManager.java |
index 0f9db8de19595e7891deef6a27e372fec577a741..c418a8fefcf3c095dc9d4ad7654fb03e86053aa6 100644 |
--- a/device/battery/android/java/src/org/chromium/device/battery/BatteryStatusManager.java |
+++ b/device/battery/android/java/src/org/chromium/device/battery/BatteryStatusManager.java |
@@ -4,6 +4,7 @@ |
package org.chromium.device.battery; |
+import android.annotation.SuppressLint; |
import android.annotation.TargetApi; |
import android.content.BroadcastReceiver; |
import android.content.Context; |
@@ -58,6 +59,7 @@ class BatteryStatusManager { |
mBatteryManager = batteryManager; |
} |
+ @SuppressLint("NewApi") |
public int getIntProperty(int id) { |
return mBatteryManager.getIntProperty(id); |
} |