Index: device/sensors/android/java/src/org/chromium/device/sensors/DeviceSensors.java |
diff --git a/device/sensors/android/java/src/org/chromium/device/sensors/DeviceSensors.java b/device/sensors/android/java/src/org/chromium/device/sensors/DeviceSensors.java |
index cfc41743654902ff12f57feb5096a962e43f0ac0..7360756cd18e4c196582fa99133aa90349371b9b 100644 |
--- a/device/sensors/android/java/src/org/chromium/device/sensors/DeviceSensors.java |
+++ b/device/sensors/android/java/src/org/chromium/device/sensors/DeviceSensors.java |
@@ -4,6 +4,7 @@ |
package org.chromium.device.sensors; |
+import android.annotation.SuppressLint; |
import android.content.Context; |
import android.hardware.Sensor; |
import android.hardware.SensorEvent; |
@@ -67,6 +68,7 @@ class DeviceSensors implements SensorEventListener { |
private SensorManagerProxy mSensorManagerProxy; |
// The only instance of that class and its associated lock. |
+ @SuppressLint("StaticFieldLeak") |
private static DeviceSensors sSingleton; |
private static Object sSingletonLock = new Object(); |