Loading core/java/android/hardware/Sensor.java +2 −1 Original line number Diff line number Diff line Loading @@ -194,7 +194,8 @@ public final class Sensor { return mMinDelay; } int getHandle() { /** @hide */ public int getHandle() { return mHandle; } Loading core/java/android/os/BatteryStats.java +5 −0 Original line number Diff line number Diff line Loading @@ -301,6 +301,11 @@ public abstract class BatteryStats implements Parcelable { public abstract int getUserActivityCount(int type, int which); public static abstract class Sensor { /* * FIXME: it's not correct to use this magic value because it * could clash with a sensor handle (which are defined by * the sensor HAL, and therefore out of our control */ // Magic sensor number for the GPS. public static final int GPS = -10000; Loading Loading
core/java/android/hardware/Sensor.java +2 −1 Original line number Diff line number Diff line Loading @@ -194,7 +194,8 @@ public final class Sensor { return mMinDelay; } int getHandle() { /** @hide */ public int getHandle() { return mHandle; } Loading
core/java/android/os/BatteryStats.java +5 −0 Original line number Diff line number Diff line Loading @@ -301,6 +301,11 @@ public abstract class BatteryStats implements Parcelable { public abstract int getUserActivityCount(int type, int which); public static abstract class Sensor { /* * FIXME: it's not correct to use this magic value because it * could clash with a sensor handle (which are defined by * the sensor HAL, and therefore out of our control */ // Magic sensor number for the GPS. public static final int GPS = -10000; Loading