Hide zombie secure folder tab
This commit is contained in:
parent
4330b2a712
commit
594a7303d3
@ -99,12 +99,14 @@ class ProfileManager(
|
|||||||
val profiles = mutableListOf<ProfileWithState>()
|
val profiles = mutableListOf<ProfileWithState>()
|
||||||
|
|
||||||
for (userHandle in launcherApps.profiles) {
|
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(
|
profiles.add(
|
||||||
ProfileWithState(
|
ProfileWithState(
|
||||||
Profile(
|
Profile(
|
||||||
type = getProfileType(userHandle),
|
type = getProfileType(userHandle),
|
||||||
userHandle = userHandle,
|
userHandle = userHandle,
|
||||||
serial = userManager.getSerialNumberForUser(userHandle),
|
serial = serial,
|
||||||
),
|
),
|
||||||
getProfileState(userHandle),
|
getProfileState(userHandle),
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user