Skip to content
Snippets Groups Projects
Commit b1d40851 authored by Nishant Singh's avatar Nishant Singh Committed by Android (Google) Code Review
Browse files

Merge "Allow system services to get/set app-locales."

parents 6adeab2b 71c59893
No related branches found
No related tags found
No related merge requests found
......@@ -175,7 +175,7 @@ public class LocaleManagerService extends SystemService {
}
private void enforceChangeConfigurationPermission() {
mContext.enforceCallingPermission(
mContext.enforceCallingOrSelfPermission(
android.Manifest.permission.CHANGE_CONFIGURATION, "setApplicationLocales");
}
......@@ -231,7 +231,7 @@ public class LocaleManagerService extends SystemService {
}
private void enforceReadAppSpecificLocalesPermission() {
mContext.enforceCallingPermission(
mContext.enforceCallingOrSelfPermission(
android.Manifest.permission.READ_APP_SPECIFIC_LOCALES,
"getApplicationLocales");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment