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

Commit 55a687ce authored by Eran Messeri's avatar Eran Messeri Committed by Android (Google) Code Review
Browse files

Merge "Remove DPC access to hardware identifiers"

parents 10395bf4 319f39ef
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -8650,11 +8650,6 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
        if (isCallerProfileOwnerOrDelegate && isProfileOwnerOfOrganizationOwnedDevice(userId)) {
            return true;
        }
        //TODO(b/130844684): Temporarily allow profile owner on non-organization-owned devices
        //to read device identifiers.
        if (isCallerProfileOwnerOrDelegate) {
            return true;
        }
        return false;
    }