summaryrefslogtreecommitdiff
path: root/libs/hwui/Properties.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2018-07-02 18:33:32 -0700
committerJohn Reck <jreck@google.com>2018-07-09 10:16:25 -0700
commit9ce2bf7e0c47fdf178c528b3a5594756e49e071e (patch)
tree7926a9c7ad0b14935666753c5604c948402b3cf1 /libs/hwui/Properties.h
parent8225c85200802198dae6fa05ccf87757365efb68 (diff)
Auto-dark mode prototype
Experimental force_dark prototype mode. Enabled by setting debug.hwui.force_dark to true. Test: verified nothing changes without prop being set Change-Id: Ib02f3f1a9c591cab1f312b827451f04c782c2f41
Diffstat (limited to 'libs/hwui/Properties.h')
-rw-r--r--libs/hwui/Properties.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/Properties.h b/libs/hwui/Properties.h
index d640c749d829..ea017a72cd74 100644
--- a/libs/hwui/Properties.h
+++ b/libs/hwui/Properties.h
@@ -190,6 +190,8 @@ enum DebugLevel {
*/
#define PROPERTY_QEMU_KERNEL "ro.kernel.qemu"
+#define PROPERTY_FORCE_DARK "debug.hwui.force_dark"
+
///////////////////////////////////////////////////////////////////////////////
// Misc
///////////////////////////////////////////////////////////////////////////////
@@ -263,6 +265,7 @@ public:
static bool disableVsync;
static bool skpCaptureEnabled;
+ static bool forceDarkMode;
// For experimentation b/68769804
ANDROID_API static bool enableRTAnimations;