From a8814ce4780590675de6335de92e9b313f0e823b Mon Sep 17 00:00:00 2001 From: Aravind Akella Date: Wed, 10 Jun 2015 15:15:57 -0700 Subject: Use LOCATION_HARDWARE permission for data injection. Change-Id: Ie81cb0d5f537d5431f2127891cca1d39c969ee7b --- services/sensorservice/SensorService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services') diff --git a/services/sensorservice/SensorService.cpp b/services/sensorservice/SensorService.cpp index ae8b3b3..cf750ee 100644 --- a/services/sensorservice/SensorService.cpp +++ b/services/sensorservice/SensorService.cpp @@ -66,7 +66,7 @@ namespace android { const char* SensorService::WAKE_LOCK_NAME = "SensorService"; // Permissions. -static const String16 sDataInjectionPermission("android.permission.HARDWARE_TEST"); +static const String16 sDataInjectionPermission("android.permission.LOCATION_HARDWARE"); static const String16 sDump("android.permission.DUMP"); SensorService::SensorService() -- cgit v1.1