Add missing log parameters and fix the ordering.

Test: Manual
Bug: 278833576
Change-Id: I644022f6ddbed544c883e8fa18e4ed57344b6d22
This commit is contained in:
Jason Parks
2023-04-26 16:34:48 +00:00
parent 66fb7c7fbf
commit c7269691b5

View File

@@ -16305,7 +16305,8 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
// TODO(b/128928355): if this restriction is enforced by multiple DPCs, return
// the admin for the calling user.
Slogf.w(LOG_TAG, "getEnforcingAdminAndUserDetailsInternal(%d, %s): multiple "
+ "sources for restriction %s on user %d", restriction, userId);
+ "sources for restriction %s on user %d",
userId, restriction, restriction, userId);
result = new Bundle();
result.putInt(Intent.EXTRA_USER_ID, userId);
return result;