Merge "Fix duplicate entries in ChooserActivity" into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b548ae5d5f
@@ -1469,7 +1469,7 @@ public class ResolverActivity extends Activity {
|
|||||||
boolean found = false;
|
boolean found = false;
|
||||||
// Only loop to the end of into as it was before we started; no dupes in from.
|
// Only loop to the end of into as it was before we started; no dupes in from.
|
||||||
for (int j = 0; j < intoCount; j++) {
|
for (int j = 0; j < intoCount; j++) {
|
||||||
final ResolvedComponentInfo rci = into.get(i);
|
final ResolvedComponentInfo rci = into.get(j);
|
||||||
if (isSameResolvedComponent(newInfo, rci)) {
|
if (isSameResolvedComponent(newInfo, rci)) {
|
||||||
found = true;
|
found = true;
|
||||||
rci.add(intent, newInfo);
|
rci.add(intent, newInfo);
|
||||||
|
|||||||
Reference in New Issue
Block a user