Is it possible to toggle the Android 10 dark mode?
I have seen this in Tasker in the latest beta.
Toggle Dark Mode
Moderator: Martin
- chrisonline
- Posts: 12
- Joined: 22 Jan 2018 18:11
- Contact:
Re: Toggle Dark Mode
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
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
- chrisonline
- Posts: 12
- Joined: 22 Jan 2018 18:11
- Contact:
Re: Toggle Dark Mode
Ok thanks for the info.
Will try it.
Will try it.