Fix duplicate entries in ChooserActivity am: 00e587086b am: 8469ffdcc1
am: 9415eaf106
Change-Id: Id26a35ccf0d0648a35ddbdbadbdfc6b5d330e4f8
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user