am e25a264c: Merge "DO NOT MERGE. Wifi service now blames apps for its wake lock use." into gingerbread
Merge commit 'e25a264c4e3739913798d9b7d91af5dc964b0f15' into gingerbread-plus-aosp * commit 'e25a264c4e3739913798d9b7d91af5dc964b0f15': DO NOT MERGE. Wifi service now blames apps for its wake lock use.
This commit is contained in:
@@ -145,7 +145,7 @@ public class WifiService extends IWifiManager.Stub {
|
||||
*/
|
||||
private static final long DEFAULT_IDLE_MILLIS = 15 * 60 * 1000; /* 15 minutes */
|
||||
|
||||
private static final String WAKELOCK_TAG = "WifiService";
|
||||
private static final String WAKELOCK_TAG = "*wifi*";
|
||||
|
||||
/**
|
||||
* The maximum amount of time to hold the wake lock after a disconnect
|
||||
@@ -1825,6 +1825,7 @@ public class WifiService extends IWifiManager.Stub {
|
||||
}
|
||||
}
|
||||
mWifiStateTracker.updateBatteryWorkSourceLocked(mTmpWorkSource);
|
||||
sWakeLock.setWorkSource(mTmpWorkSource);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user