Skip to content

Commit 7c0568b

Browse files
committed
pmd
1 parent ca21a79 commit 7c0568b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

common/src/main/java/com/microsoft/identity/common/internal/platform/AndroidPlatformUtil.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,9 @@ public static boolean isInWorkProfile(@NonNull final Context appContext) {
279279
// If any active admin apps are the profile owner, then the current calling app is in work profile.
280280
for (final ComponentName admin : activeAdmins) {
281281
final String packageName = admin.getPackageName();
282-
if (dpm.isProfileOwnerApp(packageName)) return true;
282+
if (dpm.isProfileOwnerApp(packageName)) {
283+
return true;
284+
}
283285
}
284286
}
285287
}

0 commit comments

Comments
 (0)