Merge "Private DNS: Do not apply user restriction to system"
This commit is contained in:
committed by
Android (Google) Code Review
commit
fd6eb8c2d8
@@ -743,6 +743,9 @@ public class UserRestrictionsUtils {
|
||||
|
||||
case android.provider.Settings.Global.PRIVATE_DNS_MODE:
|
||||
case android.provider.Settings.Global.PRIVATE_DNS_SPECIFIER:
|
||||
if (callingUid == Process.SYSTEM_UID) {
|
||||
return false;
|
||||
}
|
||||
restriction = UserManager.DISALLOW_CONFIG_PRIVATE_DNS;
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user