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:
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user