diff --git a/core/profiles/src/main/java/de/mm20/launcher2/profiles/ProfileManager.kt b/core/profiles/src/main/java/de/mm20/launcher2/profiles/ProfileManager.kt index 76bcb260..7ea66bb0 100644 --- a/core/profiles/src/main/java/de/mm20/launcher2/profiles/ProfileManager.kt +++ b/core/profiles/src/main/java/de/mm20/launcher2/profiles/ProfileManager.kt @@ -99,12 +99,14 @@ class ProfileManager( val profiles = mutableListOf() for (userHandle in launcherApps.profiles) { + val serial = userManager.getSerialNumberForUser(userHandle) + if (android.os.Build.MANUFACTURER == "samsung" && serial == 150L) continue // Hide Samsung Secure Folder profiles.add( ProfileWithState( Profile( type = getProfileType(userHandle), userHandle = userHandle, - serial = userManager.getSerialNumberForUser(userHandle), + serial = serial, ), getProfileState(userHandle), )