From 8ef3c89eb2030395f8a342bd16dbb344957ab275 Mon Sep 17 00:00:00 2001 From: Aravind Akella Date: Fri, 10 Jul 2015 11:24:28 -0700 Subject: Rename wakelock held internally by SensorService. Bug: 22076400 Change-Id: I62129549b0681f200f40da01f53140245309ed88 --- services/sensorservice/SensorService.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/sensorservice/SensorService.cpp b/services/sensorservice/SensorService.cpp index 71aa160..bb2d4f3 100644 --- a/services/sensorservice/SensorService.cpp +++ b/services/sensorservice/SensorService.cpp @@ -64,7 +64,7 @@ namespace android { * */ -const char* SensorService::WAKE_LOCK_NAME = "SensorService"; +const char* SensorService::WAKE_LOCK_NAME = "SensorService_wakelock"; // Permissions. static const String16 sDump("android.permission.DUMP"); @@ -1379,7 +1379,7 @@ void SensorService::SensorEventConnection::resetWakeLockRefCount() { void SensorService::SensorEventConnection::dump(String8& result) { Mutex::Autolock _l(mConnectionLock); - result.appendFormat("Operating Mode: %s\n", mDataInjectionMode ? "DATA_INJECTION" : "NORMAL"); + result.appendFormat("\tOperating Mode: %s\n",mDataInjectionMode ? "DATA_INJECTION" : "NORMAL"); result.appendFormat("\t %s | WakeLockRefCount %d | uid %d | cache size %d | " "max cache size %d\n", mPackageName.string(), mWakeLockRefCount, mUid, mCacheSize, mMaxCacheSize); -- cgit v1.1