[Sharing][Analytics]

1. Adding acceptance status logging for  LAUNCH_CONSENT event.
2. add new consent type for device contact consent.

PiperOrigin-RevId: 394745696
This commit is contained in:
hai007
2021-09-03 13:24:53 -07:00
committed by Copybara-Service
parent 24539d170f
commit f78c8ac5a0
+13
View File
@@ -372,10 +372,23 @@ enum ActivityName {
CONSENTS_ACTIVITY = 6;
}
// The type of consent page user launches.
enum ConsentType {
CONSENT_TYPE_UNKNOWN = 0;
// launch Constellation consent page.
CONSENT_TYPE_C11N = 1;
// launch device contact consent page.
CONSENT_TYPE_DEVICE_CONTACT = 2;
}
enum ConsentAcceptanceStatus {
CONSENT_UNKNOWN_ACCEPT_STATUS = 0;
CONSENT_ACCEPTED = 1;
CONSENT_DECLINED = 2;
// unable to enable consent.
CONSENT_UNABLE_TO_ENABLE = 3;
}
enum ApkSource {