Use LOCATION_HARDWARE permission for data injection.

Change-Id: Ie81cb0d5f537d5431f2127891cca1d39c969ee7b
This commit is contained in:
Aravind Akella 2015-06-10 15:15:57 -07:00
parent 3db36803b2
commit a8814ce478

View File

@ -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()