Revert change to force_dark property

Settings can't write to persist.* without special
selinux rules. Instead for debug simplicity just
switch back to debug.hwui.force_dark and let it
reset on reboot.

Fixes: 131697927
Test: toggle override-force dark in dev options
Change-Id: Ieac6edb2a7b444fc2f63d5d4f1b657bad6ead409
This commit is contained in:
John Reck
2019-05-02 12:59:40 -07:00
parent 9f514dbb27
commit 0b5db0ee72

View File

@@ -177,7 +177,7 @@ public final class ThreadedRenderer extends HardwareRenderer {
* Forces smart-dark to be always on.
* @hide
*/
public static final String DEBUG_FORCE_DARK = "persist.hwui.force_dark";
public static final String DEBUG_FORCE_DARK = "debug.hwui.force_dark";
public static int EGL_CONTEXT_PRIORITY_HIGH_IMG = 0x3101;
public static int EGL_CONTEXT_PRIORITY_MEDIUM_IMG = 0x3102;