Merge "When logging ranking positions, use the number of displayed targets in calculating offset rather than the total number available." into rvc-qpr-dev

This commit is contained in:
Alison Cichowlas
2020-10-09 12:37:52 +00:00
committed by Android (Google) Code Review

View File

@@ -1761,7 +1761,7 @@ public class ChooserActivity extends ResolverActivity implements
case ChooserListAdapter.TARGET_CALLER:
case ChooserListAdapter.TARGET_STANDARD:
cat = MetricsEvent.ACTION_ACTIVITY_CHOOSER_PICKED_APP_TARGET;
value -= currentListAdapter.getSelectableServiceTargetCount();
value -= currentListAdapter.getSurfacedTargetInfo().size();
numCallerProvided = currentListAdapter.getCallerTargetCount();
getChooserActivityLogger().logShareTargetSelected(
SELECTION_TYPE_APP,