Toggle Dark Mode

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
chrisonline
Posts: 12
Joined: 22 Jan 2018 18:11
Contact:

Toggle Dark Mode

Post by chrisonline » 19 Sep 2019 17:28

Is it possible to toggle the Android 10 dark mode?
I have seen this in Tasker in the latest beta.
cu chrisonline
-----------------------------
http://www.colapps.net

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Toggle Dark Mode

Post by Martin » 23 Sep 2019 07:17

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

User avatar
chrisonline
Posts: 12
Joined: 22 Jan 2018 18:11
Contact:

Re: Toggle Dark Mode

Post by chrisonline » 23 Sep 2019 09:51

Ok thanks for the info.
Will try it.
cu chrisonline
-----------------------------
http://www.colapps.net

Post Reply