sensorservice: fix an invalid format string

Change-Id: Ib41bca95e6be7831c5ce77bceaf6a3d9f8b37d41
This commit is contained in:
Khalid Zubair 2016-04-20 14:13:35 -07:00 committed by Abhisek Devkota
parent 573fb3e32d
commit ec0faee33a

View File

@ -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;
}