Use LOCATION_HARDWARE permission for data injection.
Change-Id: Ie81cb0d5f537d5431f2127891cca1d39c969ee7b
This commit is contained in:
parent
3db36803b2
commit
a8814ce478
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user