diff options
author | Susi Kharraz-Post <susikp@google.com> | 2019-04-01 11:07:59 -0400 |
---|---|---|
committer | Susi Kharraz-Post <susikp@google.com> | 2019-04-03 17:54:25 -0400 |
commit | 14cbfcdbd0430fa0e2fbe9083795dc6a2764db3f (patch) | |
tree | 60d04f8d8f7566def7afb568995836fe4e163672 /proto/src | |
parent | 92aa9b2fbaa60710f1b0ccf44770eef1d5ab5b2a (diff) |
Add logging for direct share target
To answer the question if users share mainly with 1 or 2 direct targets
or with a multitude of contacts, we need to log the direct target +
package name. For privacy, this gets hashed with a salt that expires by
default every 7 days. The PH flag will allow us to change the expiration
time if we obtain PWG permission for that.
Bug: 126365511
Test: New test in ChooserActivityTest + manual testing of consistency
and flag rollout using adb shell device_config put systemui
hash_salt_max_days with multiple values
Change-Id: Ib4255b3eb39ca91ccb5803dc036ffe0ea83a27c9
Diffstat (limited to 'proto/src')
-rw-r--r-- | proto/src/metrics_constants/metrics_constants.proto | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/proto/src/metrics_constants/metrics_constants.proto b/proto/src/metrics_constants/metrics_constants.proto index f487fc8c470f..a88ae9e8b952 100644 --- a/proto/src/metrics_constants/metrics_constants.proto +++ b/proto/src/metrics_constants/metrics_constants.proto @@ -7167,6 +7167,14 @@ message MetricsEvent { // OS: Q ACTION_DISPLAY_WHITE_BALANCE_SETTING_CHANGED = 1703; + // Action: ACTION_ACTIVITY_CHOOSER_PICKED_SERVICE_TARGET + // Direct share target hashed with rotating salt + FIELD_HASHED_TARGET_NAME = 1704; + + // Action: ACTION_ACTIVITY_CHOOSER_PICKED_SERVICE_TARGET + // Salt generation for the above hashed direct share target + FIELD_HASHED_TARGET_SALT_GEN = 1705; + // ---- End Q Constants, all Q constants go above this line ---- // Add new aosp constants above this line. // END OF AOSP CONSTANTS |