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

Commit 51a399ae authored by Alex Johnston's avatar Alex Johnston Committed by Android (Google) Code Review
Browse files

Merge "Uncomment DevicePolicyEventLogger for method Set_Application_Exemption"

parents 17e2414e 600bc846
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -18862,11 +18862,11 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
        for (int i = 0; i < exemptions.length; i++) {
            appOpExemptions[i] = APPLICATION_EXEMPTION_CONSTANTS_TO_APP_OPS.get(exemptions[i]);
        }
//        DevicePolicyEventLogger
//            .createEvent(DevicePolicyEnums.SET_APPLICATION_EXEMPTIONS)
//            .setAdmin(caller.getPackageName())
//            .setStrings(packageName, appOpExemptions)
//            .write();
        DevicePolicyEventLogger
            .createEvent(DevicePolicyEnums.SET_APPLICATION_EXEMPTIONS)
            .setAdmin(caller.getPackageName())
            .setStrings(packageName, appOpExemptions)
            .write();
    }
    @Override