Merge "Fix ChooserTarget app scoring" into mnc-dr-dev

This commit is contained in:
Adam Powell
2015-10-16 18:08:36 +00:00
committed by Android (Google) Code Review

View File

@@ -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());
}
}