diff options
author | Khalid Zubair <kzubair@cyngn.com> | 2016-04-20 14:13:35 -0700 |
---|---|---|
committer | Abhisek Devkota <ciwrl@cyanogenmod.com> | 2016-04-20 15:50:27 -0700 |
commit | ec0faee33a521407bd7c0259b958ca27241677e1 (patch) | |
tree | fcaf4b546d9774389f1f68ba010521ed33f0a083 | |
parent | 573fb3e32d8d479c06813b153c82f1e48e36ae4c (diff) | |
download | frameworks_native-ec0faee33a521407bd7c0259b958ca27241677e1.zip frameworks_native-ec0faee33a521407bd7c0259b958ca27241677e1.tar.gz frameworks_native-ec0faee33a521407bd7c0259b958ca27241677e1.tar.bz2 |
sensorservice: fix an invalid format string
Change-Id: Ib41bca95e6be7831c5ce77bceaf6a3d9f8b37d41
-rw-r--r-- | services/sensorservice/SensorService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/sensorservice/SensorService.cpp b/services/sensorservice/SensorService.cpp index 8ab145a..3d9dcd0 100644 --- a/services/sensorservice/SensorService.cpp +++ b/services/sensorservice/SensorService.cpp @@ -1120,7 +1120,7 @@ bool SensorService::canAccessSensor(const Sensor& sensor, const char* operation, AppOpsManager appOps; if (appOps.noteOp(opCode, IPCThreadState::self()->getCallingUid(), opPackageName) != AppOpsManager::MODE_ALLOWED) { - ALOGE("%s a sensor (%s) without enabled required app op: %D", + ALOGE("%s a sensor (%s) without enabled required app op: %d", operation, sensor.getName().string(), opCode); return false; } |