Update LocationManagerService wakelock tag to follow the naming
convention.
Tags of Wakelocks with a WorkSource should use the naming convention
*tag*. This will help app developers to understand which wakelocks come
from the platform.
Test: n/a
Change-Id: I7bd51ebb3db04e06bbd05e964efef9743fcaa6da
diff --git a/services/core/java/com/android/server/LocationManagerService.java b/services/core/java/com/android/server/LocationManagerService.java
index 0fd59ea..bdfccd6e 100644
--- a/services/core/java/com/android/server/LocationManagerService.java
+++ b/services/core/java/com/android/server/LocationManagerService.java
@@ -118,7 +118,7 @@
private static final String TAG = "LocationManagerService";
public static final boolean D = Log.isLoggable(TAG, Log.DEBUG);
- private static final String WAKELOCK_KEY = TAG;
+ private static final String WAKELOCK_KEY = "*location*";
// Location resolution level: no location data whatsoever
private static final int RESOLUTION_LEVEL_NONE = 0;