summaryrefslogtreecommitdiffstats
path: root/core/java/com
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2015-10-16 18:13:19 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-10-16 18:13:19 +0000
commitd08f339bcc80bbf368bb7c7b9ddb77d6a9d613fd (patch)
treebcc33618f3377d0ab076b4f24b1d81418f165972 /core/java/com
parent95b84f52517548adbd0dff7a22c41c5c4d249c44 (diff)
parent749334bffbc92aeaef27c274a1586fa7365cbfdc (diff)
downloadframeworks_base-d08f339bcc80bbf368bb7c7b9ddb77d6a9d613fd.zip
frameworks_base-d08f339bcc80bbf368bb7c7b9ddb77d6a9d613fd.tar.gz
frameworks_base-d08f339bcc80bbf368bb7c7b9ddb77d6a9d613fd.tar.bz2
am 749334bf: Merge "Fix ChooserTarget app scoring" into mnc-dr-dev
* commit '749334bffbc92aeaef27c274a1586fa7365cbfdc': Fix ChooserTarget app scoring
Diffstat (limited to 'core/java/com')
-rw-r--r--core/java/com/android/internal/app/ChooserActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/com/android/internal/app/ChooserActivity.java b/core/java/com/android/internal/app/ChooserActivity.java
index 9708cce..c6b340b 100644
--- a/core/java/com/android/internal/app/ChooserActivity.java
+++ b/core/java/com/android/internal/app/ChooserActivity.java
@@ -920,7 +920,7 @@ public class ChooserActivity extends ResolverActivity {
@Override
public int compare(ChooserTarget lhs, ChooserTarget rhs) {
// Descending order
- return (int) Math.signum(lhs.getScore() - rhs.getScore());
+ return (int) Math.signum(rhs.getScore() - lhs.getScore());
}
}