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

Commit c826cf4f authored by Hai Zhang's avatar Hai Zhang
Browse files

Fix crash when clearing package preferred activities.

Use put() instead of setValueAt().

Bug: 130468857
Test: presubmit
Change-Id: If155c2a4ae9d4f953703b653eef2c04b2b516953
parent b94e7e89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20027,7 +20027,7 @@ public class PackageManagerService extends IPackageManager.Stub
                    PreferredActivity pa = removed.get(j);
                    pir.removeFilter(pa);
                }
                outUserChanged.setValueAt(thisUserId, true);
                outUserChanged.put(thisUserId, true);
            }
        }
    }