Changing AUDIO_TURNED_ON constant.

Changed so that it's set to a different value from WIFI_MULTICAST_ENABLED.

Change-Id: Ied3a2c2bf891f887ec3c7b5249453af4524c099a
This commit is contained in:
Kweku Adams
2014-11-24 17:34:05 -08:00
parent fcae79f65d
commit d537987b17
2 changed files with 6 additions and 6 deletions

View File

@@ -90,11 +90,6 @@ public abstract class BatteryStats implements Parcelable {
*/
public static final int WIFI_MULTICAST_ENABLED = 7;
/**
* A constant indicating an audio turn on timer
*/
public static final int AUDIO_TURNED_ON = 7;
/**
* A constant indicating a video turn on timer
*/
@@ -130,6 +125,11 @@ public abstract class BatteryStats implements Parcelable {
*/
public static final int JOB = 14;
/**
* A constant indicating an audio turn on timer
*/
public static final int AUDIO_TURNED_ON = 15;
/**
* Include all of the data in the stats, including previously saved data.
*/

View File

@@ -94,7 +94,7 @@ public final class BatteryStatsImpl extends BatteryStats {
private static final int MAGIC = 0xBA757475; // 'BATSTATS'
// Current on-disk Parcel version
private static final int VERSION = 114 + (USE_OLD_HISTORY ? 1000 : 0);
private static final int VERSION = 115 + (USE_OLD_HISTORY ? 1000 : 0);
// Maximum number of items we will record in the history.
private static final int MAX_HISTORY_ITEMS = 2000;