Added log in DPMService.setUserRestriction

Bug: 285656428
Test: manually verified the logger statment in logcat.
Change-Id: I16419b7f52e03bd81d4ca66aad1803afb6b646b6
This commit is contained in:
Nikhil Kumar
2023-06-07 11:36:35 +01:00
parent 17e72d6d1a
commit f35ab4838e

View File

@@ -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) {