summaryrefslogtreecommitdiff
path: root/proto/src/metrics_constants
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2019-02-05 22:12:17 +0000
committerMichael Wright <michaelwr@google.com>2019-03-20 21:41:54 +0000
commit188bbbf11be5e18328828cc5484049910a07ca5c (patch)
treef23b16bb6b2cef6d69e95b7dbf651ee7584f01cc /proto/src/metrics_constants
parentf54473a80beef59c591fa5ca4862ea4019a7a244 (diff)
Log the requested display policy.
This way we can track what the general desire for the display is. Note that this is different than tracking the actual display state since, for example, you may be applying POLICY_DOZE but the DozeService actually has the display in the ON state. Bug: 122949636 Test: manual inspection Change-Id: I65b7e26937f6fbb40057a49c4ebe4aed7380100b
Diffstat (limited to 'proto/src/metrics_constants')
-rw-r--r--proto/src/metrics_constants/metrics_constants.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/proto/src/metrics_constants/metrics_constants.proto b/proto/src/metrics_constants/metrics_constants.proto
index 78f22e0cc9e7..7447331b113d 100644
--- a/proto/src/metrics_constants/metrics_constants.proto
+++ b/proto/src/metrics_constants/metrics_constants.proto
@@ -7132,6 +7132,12 @@ message MetricsEvent {
// OS: Q
FIELD_SCREEN_SLEEP_REASON = 1695;
+ // UPDATE: The screen changed policy
+ // SUBTYPE: The applied policy. One of the DISPLAY_POLICY_* constants in
+ // DisplayManagerInternal.
+ // OS: Q
+ DISPLAY_POLICY = 1696;
+
// ---- End Q Constants, all Q constants go above this line ----
// Add new aosp constants above this line.
// END OF AOSP CONSTANTS