From c7269691b5f4a1c3b3374bc4e089abc7d785ba7b Mon Sep 17 00:00:00 2001 From: Jason Parks Date: Wed, 26 Apr 2023 16:34:48 +0000 Subject: [PATCH] Add missing log parameters and fix the ordering. Test: Manual Bug: 278833576 Change-Id: I644022f6ddbed544c883e8fa18e4ed57344b6d22 --- .../server/devicepolicy/DevicePolicyManagerService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java index 40024f1f0be34..64ef0b47c8ec4 100644 --- a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +++ b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java @@ -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;