Merge changes I81fc2f90,I5e7fd759

* changes:
  Using proper key for removing from map.
  Removing wrong equals method in comparator.
This commit is contained in:
Brad Fitzpatrick
2011-03-15 10:56:16 -07:00
committed by Android Code Review
2 changed files with 1 additions and 5 deletions

View File

@@ -380,7 +380,7 @@ public class LocalActivityManager {
if (r != null) {
win = performDestroy(r, finish);
if (finish) {
mActivities.remove(r);
mActivities.remove(id);
}
}
return win;

View File

@@ -498,10 +498,6 @@ public class Linkify {
return 0;
}
public final boolean equals(Object o) {
return false;
}
};
Collections.sort(links, c);