Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 524de072 authored by Alison Cichowlas's avatar Alison Cichowlas Committed by Android (Google) Code Review
Browse files

Merge "When logging ranking positions, use the number of displayed targets in...

Merge "When logging ranking positions, use the number of displayed targets in calculating offset rather than the total number available."
parents 6dd90d4c b17dbd20
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1771,7 +1771,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,