Merge "Fix parsing in sensorprivacyservice" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4245e30aec
@@ -568,7 +568,7 @@ public final class SensorPrivacyService extends SystemService {
|
||||
// User may no longer exist or isn't set
|
||||
continue;
|
||||
}
|
||||
int sensor = parser.getAttributeIndex(null, XML_ATTRIBUTE_SENSOR);
|
||||
int sensor = parser.getAttributeInt(null, XML_ATTRIBUTE_SENSOR);
|
||||
boolean isEnabled = parser.getAttributeBoolean(null,
|
||||
XML_ATTRIBUTE_ENABLED);
|
||||
SparseBooleanArray userIndividualEnabled = individualEnabled.get(
|
||||
|
||||
Reference in New Issue
Block a user