Page 1 of 1

Toggle Dark Mode

Posted: 19 Sep 2019 17:28
by chrisonline
Is it possible to toggle the Android 10 dark mode?
I have seen this in Tasker in the latest beta.

Re: Toggle Dark Mode

Posted: 23 Sep 2019 07:17
by Martin
Hi,

You can use action Set System Setting to toggle Secure setting ui_night_mode between 0 (Auto), 1 (Light) and 2 (Dark).
You then have to use actions Set Car UI Mode: On and Set Car UI Mode: Off to make the system apply the changes immediately.

I'm not likely going to add a distinct action for this since it's quite unofficial, could have undesired side effects when the car mode is temporarily applied and might not work on many devices and could break in a system update.

Regards,
Martin

Re: Toggle Dark Mode

Posted: 23 Sep 2019 09:51
by chrisonline
Ok thanks for the info.
Will try it.