Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd6eb8c2 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Private DNS: Do not apply user restriction to system"

parents fc40551b c28f98a7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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: