commit | 5ae7df18221d1e2ec6838cd1c0d52e8097293a45 | [log] [tgz] |
---|---|---|
author | Simon MacMullen <simonmacm@google.com> | Mon Mar 30 17:59:20 2020 +0100 |
committer | Simon MacMullen <simonmacm@google.com> | Mon Apr 06 14:56:37 2020 +0100 |
tree | d646e4b3dca9e0ce1071b23bd5dda5006ce53643 | |
parent | bce4b444e30b859e1880e23a4f11d41c04ad37cd [diff] |
Add system properties for screen state and brightness. This will allow Perfetto to record the screen state and brightness at the start of a trace. Named the properties "debug.tracing.screen_*" to fit with existing SELinux config and discourage treating this as a general API (there's Display.getState() etc for that). Bug: 152194759 Test: Manual test with "adb shell getprop" Change-Id: I635380f75886e8e1441b77994cb3d2d9d4630e9e