Merge "Rank ChooserTargets using appTarget#rank instead of shortcut#rank. AppTarget#rank contains the score passed from AppPredictionService." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
14eea93f57
@@ -561,7 +561,7 @@ public class ChooserListAdapter extends ResolverListAdapter {
|
||||
mChooserTargetScores.put(componentName, new HashMap<>());
|
||||
}
|
||||
mChooserTargetScores.get(componentName).put(shortcutInfo.getShortLabel().toString(),
|
||||
shortcutInfo.getRank());
|
||||
target.getRank());
|
||||
}
|
||||
mChooserTargetScores.keySet().forEach(key -> rankTargetsWithinComponent(key));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user