Merge "Sharesheet - log copy actions." into qt-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c1d0b9cc00
@@ -797,6 +797,11 @@ public class ChooserActivity extends ResolverActivity {
|
||||
clipboardManager.setPrimaryClip(clipData);
|
||||
Toast.makeText(getApplicationContext(), R.string.copied, Toast.LENGTH_SHORT).show();
|
||||
|
||||
// Log share completion via copy
|
||||
LogMaker targetLogMaker = new LogMaker(
|
||||
MetricsEvent.ACTION_ACTIVITY_CHOOSER_PICKED_SYSTEM_TARGET).setSubtype(1);
|
||||
getMetricsLogger().write(targetLogMaker);
|
||||
|
||||
finish();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user