Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2fbef15 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Only show running apps for the current user+profiles" into tm-dev

parents b46f5219 f228f63d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -322,6 +322,7 @@ class FgsManagerController @Inject constructor(
        }

        val addedPackages = runningServiceTokens.keys.filter {
            currentProfileIds.contains(it.userId) &&
                    it.uiControl != UIControl.HIDE_ENTRY && runningApps[it]?.stopped != true
        }
        val removedPackages = runningApps.keys.filter { !runningServiceTokens.containsKey(it) }