summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2015-07-16 18:45:37 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-07-16 18:45:37 +0000
commit9e55d57dc7fccbeae4bb8ff4be322d7e2b87dacc (patch)
tree2099a6610920bf4c11948f95963de176873f2048
parentc84bf8498e51b04f8be5bfea0616a4bc0bc81eee (diff)
parent8983420d30d3e962c519d7f9a5d8b8ea4bc3f42c (diff)
am 8983420d: Merge "Don\'t spam the system with unique wake lock names." into mnc-dev
* commit '8983420d30d3e962c519d7f9a5d8b8ea4bc3f42c': Don't spam the system with unique wake lock names.
-rw-r--r--packages/SystemUI/src/com/android/systemui/doze/DozeService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/doze/DozeService.java b/packages/SystemUI/src/com/android/systemui/doze/DozeService.java
index 5d467124c0f0..887391c078b2 100644
--- a/packages/SystemUI/src/com/android/systemui/doze/DozeService.java
+++ b/packages/SystemUI/src/com/android/systemui/doze/DozeService.java
@@ -136,7 +136,7 @@ public class DozeService extends DreamService {
mDozeParameters.getPulseOnPickup(), mDozeParameters.getVibrateOnPickup(),
DozeLog.PULSE_REASON_SENSOR_PICKUP);
mPowerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
- mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, mTag);
+ mWakeLock = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
mWakeLock.setReferenceCounted(true);
mAlarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE);
mDisplayStateSupported = mDozeParameters.getDisplayStateSupported();