We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca21a79 commit 7c0568bCopy full SHA for 7c0568b
common/src/main/java/com/microsoft/identity/common/internal/platform/AndroidPlatformUtil.java
@@ -279,7 +279,9 @@ public static boolean isInWorkProfile(@NonNull final Context appContext) {
279
// If any active admin apps are the profile owner, then the current calling app is in work profile.
280
for (final ComponentName admin : activeAdmins) {
281
final String packageName = admin.getPackageName();
282
- if (dpm.isProfileOwnerApp(packageName)) return true;
+ if (dpm.isProfileOwnerApp(packageName)) {
283
+ return true;
284
+ }
285
}
286
287
0 commit comments