Close #967
This commit is contained in:
MM20 2024-07-22 18:05:19 +02:00
parent 6c5e17864f
commit 38d8bcc07c
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -35,6 +35,8 @@ class ProfileManager(
private val context: Context,
private val permissionsManager: PermissionsManager,
) {
private val mutex = Mutex()
private val userManager = context.getSystemService<UserManager>()!!
private val launcherApps = context.getSystemService<LauncherApps>()!!
@ -92,8 +94,6 @@ class ProfileManager(
}
}
}
private val mutex = Mutex()
private suspend fun refreshProfiles() {
mutex.withLock {
val profiles = mutableListOf<ProfileWithState>()