Fix duplicate entries in ChooserActivity am: 00e587086b

am: 8469ffdcc1

Change-Id: I64faa05b9892d38e71c8ebb91d02f5302a4be69e
This commit is contained in:
Adam Powell
2016-09-09 22:10:24 +00:00
committed by android-build-merger

View File

@@ -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);