summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/IntentResolver.java
diff options
context:
space:
mode:
Diffstat (limited to 'services/java/com/android/server/IntentResolver.java')
-rw-r--r--services/java/com/android/server/IntentResolver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/IntentResolver.java b/services/java/com/android/server/IntentResolver.java
index 9b19008..8f703f0 100644
--- a/services/java/com/android/server/IntentResolver.java
+++ b/services/java/com/android/server/IntentResolver.java
@@ -609,7 +609,7 @@ public abstract class IntentResolver<F extends IntentFilter, R extends Object> {
public int compare(Object o1, Object o2) {
final int q1 = ((IntentFilter) o1).getPriority();
final int q2 = ((IntentFilter) o2).getPriority();
- return (q1 > q2) ? -1 : ((q1 < q2) ? 1 : 0);
+ return (q1 > q2) ? -1 : ((q1 < q2) ? 1 : ((IntentFilter) o1).onCompareTie((IntentFilter) o2));
}
};