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

Commit 8469ffdc authored by Adam Powell's avatar Adam Powell Committed by android-build-merger
Browse files

Fix duplicate entries in ChooserActivity

am: 00e58708

Change-Id: I3bfed096c104751f80519f72d2d6be1aeacbd109
parents 62535bb6 00e58708
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1469,7 +1469,7 @@ public class ResolverActivity extends Activity {
                boolean found = false;
                // Only loop to the end of into as it was before we started; no dupes in from.
                for (int j = 0; j < intoCount; j++) {
                    final ResolvedComponentInfo rci = into.get(i);
                    final ResolvedComponentInfo rci = into.get(j);
                    if (isSameResolvedComponent(newInfo, rci)) {
                        found = true;
                        rci.add(intent, newInfo);