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

Commit f35ab483 authored by Nikhil Kumar's avatar Nikhil Kumar
Browse files

Added log in DPMService.setUserRestriction

Bug: 285656428
Test: manually verified the logger statment in logcat.
Change-Id: I16419b7f52e03bd81d4ca66aad1803afb6b646b6
parent 17e72d6d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -13593,6 +13593,9 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
                    : SecurityLog.TAG_USER_RESTRICTION_REMOVED;
            SecurityLog.writeEvent(eventTag, caller.getPackageName(), caller.getUserId(), key);
        }
        Slogf.i(LOG_TAG, "Changing user restriction %s to: %b caller: %s",
                key, enabled, caller.toString());
    }
    private void saveUserRestrictionsLocked(int userId) {