Add constants which can be used by Privacy Setting

-Add a category key for privacy settings
-Add two metrics constants for privacy settings

Test: robotest
Bug: 116628158
Change-Id: Id9b210cc44bcc421c67525c4919d99586525bfc2
This commit is contained in:
tmfang
2018-11-05 19:05:18 +08:00
parent ea87b1fa7c
commit a3f63a9e66
3 changed files with 11 additions and 1 deletions

View File

@@ -64,5 +64,8 @@ enum PageId {
// OPEN: Biometric Enrollment (android.settings.BIOMETRIC_ENROLL action intent)
BIOMETRIC_ENROLL_ACTIVITY = 1586;
// OPEN: Settings > Privacy
TOP_LEVEL_PRIVACY = 1587;
}

View File

@@ -51,6 +51,8 @@ public final class CategoryKey {
public static final String CATEGORY_GESTURES = "com.android.settings.category.ia.gestures";
public static final String CATEGORY_NIGHT_DISPLAY =
"com.android.settings.category.ia.night_display";
public static final String CATEGORY_PRIVACY =
"com.android.settings.category.ia.privacy";
public static final Map<String, String> KEY_COMPAT_MAP;

View File

@@ -2832,7 +2832,7 @@ message MetricsEvent {
// ACTION: Logs the end to end time taken by all provisioning tasks.
PROVISIONING_TOTAL_TASK_TIME_MS = 627;
// OPEN: Settings > Privacy
// OPEN: Settings > Security
// CATEGORY: SETTINGS
// OS: O
ENTERPRISE_PRIVACY_SETTINGS = 628;
@@ -6579,6 +6579,11 @@ message MetricsEvent {
// OS: Q
BIOMETRIC_ENROLL_ACTIVITY = 1586;
// OPEN: Settings > Privacy
// CATEGORY: SETTINGS
// OS: Q
TOP_LEVEL_PRIVACY = 1587;
// ---- End Q Constants, all Q constants go above this line ----
// Add new aosp constants above this line.