sensorservice: fix an invalid format string
Change-Id: Ib41bca95e6be7831c5ce77bceaf6a3d9f8b37d41
This commit is contained in:
parent
573fb3e32d
commit
ec0faee33a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user