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

Commit c674db6c authored by Nate Myren's avatar Nate Myren
Browse files

Fix ConcurrentModificationException

Fixes: 157159418
Test: Run AutoRevoke manually
Change-Id: I60ed3a8c73d17f663155638a0aba011f6685fbb1
parent 2fadc624
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -254,7 +254,7 @@ private suspend fun revokePermissionsOnUnusedApps(
                    }.toMap())
        }
    }
    for (user in unusedApps.keys) {
    for (user in unusedApps.keys.toList()) {
        if (user !in userStats.keys) {
            if (DEBUG) {
                DumpableLog.i(LOG_TAG, "Ignoring user ${user.identifier}")