Merge "Only show running apps for the current user+profiles" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e2fbef15eb
@@ -322,7 +322,8 @@ class FgsManagerController @Inject constructor(
|
||||
}
|
||||
|
||||
val addedPackages = runningServiceTokens.keys.filter {
|
||||
it.uiControl != UIControl.HIDE_ENTRY && runningApps[it]?.stopped != true
|
||||
currentProfileIds.contains(it.userId) &&
|
||||
it.uiControl != UIControl.HIDE_ENTRY && runningApps[it]?.stopped != true
|
||||
}
|
||||
val removedPackages = runningApps.keys.filter { !runningServiceTokens.containsKey(it) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user