Commit Graph

2 Commits

Author SHA1 Message Date
Tianjie Xu
fd8e984334 Use more specific option to set dark mode
We have switch misc_writer to use more specific flags to set the dark mode.
Modify the caller as well.

Bug: 131775112
Test: set dark mode, check device boots with dark mode
Change-Id: Icbf3377e514f79b9b4bcf5c5a2dff9b0c8324df5
2019-11-11 22:47:49 -08:00
Tao Bao
f0a2c6de3a Dark boot on dark theme.
Bug: 113028175
Bug: 134157796
Test: Build and flash walleye with the matching bootloader change.
      Check serial log regarding the start of vendor.darkboot and
      vendor.darkboot_clear services when toggling dark theme in
      Settings. Also read the value via `dd bs=1 skip=14408
      if=/dev/block/sdd1 count=32 | xxd` to confirm the change.
Test: Trigger a factory reset via Settings. Check the value in /misc
      after the reset.
Change-Id: Ie8504cec4358576890cc395de8df1679fa52fa01
2019-06-17 11:31:52 -07:00