Added log in DPMService.setUserRestriction
Bug: 285656428 Test: manually verified the logger statment in logcat. Change-Id: I16419b7f52e03bd81d4ca66aad1803afb6b646b6
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user