^That's a good point. Integrating the native Extra Dim would probably improve battery life too.
And good news @MacroDroidDev ! I figured out what setting controls this. In the System Settings action with [Secure] config, the Known key reduce_bright_colors_activated() controls this. A value of 1 activates Extra Dim, and a value of 0 deactivates it. So whatever code that action uses as the backend could probably easily be added as a toggle, checkbox, or configuration in the Dimmer action. (I'm less confident about how to set the intensity of the dimmer programatically, but from exploring AOSP I think it's related to ColorDisplayManager.setReduceBrightColorsStrength(xx), where "xx" is the slider % value. Alternatively, you could send the user to com.android.settings.Settings$ReduceBrightColorsSettingsActivity to set their preference directly.)
I hope Google makes a miracle^That's a good point. Integrating the native Extra Dim would probably improve battery life too.
And good news @MacroDroidDev ! I figured out what setting controls this. In the System Settings action with [Secure] config, the Known key reduce_bright_colors_activated() controls this. A value of 1 activates Extra Dim, and a value of 0 deactivates it. So whatever code that action uses as the backend could probably easily be added as a toggle, checkbox, or configuration in the Dimmer action. (I'm less confident about how to set the intensity of the dimmer programatically, but from exploring AOSP I think it's related to ColorDisplayManager.setReduceBrightColorsStrength(xx), where "xx" is the slider % value. Alternatively, you could send the user to com.android.settings.Settings$ReduceBrightColorsSettingsActivity to set their preference directly.)
Third party dimming features also don't dim the navigation bar, status bar, quick settings, lock screen, settings app, and will cover screenshots if not disabled beforehand.^That's a good point. Integrating the native Extra Dim would probably improve battery life too.
Unfortunately on OneUI 5.1 there is no associated setting.If it is in secure settings you should be able to use the system setting action to change these
Third party dimming features also don't dim the navigation bar, status bar, quick settings, lock screen, settings app, and will also cover screenshots if not disabled beforehand.
Unfortunately on OneUI 5.1 there is no associated setting.
Not every Android skin has that setting such as OneUI as I noted above.Secure system setting
reduce_bright_colors_level
I'm on One UI 5.1 and I have it and have been using it for quite a while.Not every Android skin has that setting such as OneUI as I noted above.
That's actually a very clever workaround. I remember I wanted to use airplane mode on MacroDroid before it was supported, and I wanted to do use Routines but couldn't figure out a way.I am on oneui6 now but oneui5 has option called very dark or something in quick settings right? And you can display notification from macrodroid and set up routine in samsungs app when notification from macrodroid received with chosen phrase enable very dark mode. Macrodroid can clear notification as well so it works decently + you can use set brightness action with it.
Not sure if it gets as dark as overlay
In the screenshot is all I have. Do you have the "Use helper app" checked in the System setting action by any chance?I'm on One UI 5.1 and I have it and have been using it for quite a while.
No, but it could help.In the screenshot is all I have. Do you have the "Use helper app" checked in the System setting action by any chance?
Also, give values like 10, 20 a chance.In the screenshot is all I have. Do you have the "Use helper app" checked in the System setting action by any chance?
I've already tried that before but here's a recording using your macro.No, but it could help.
Can you try testing the action?
Try using this macro: https://www.macrodroidlink.com/macrostore?id=15927
Just gave 20 and -20 a try. No luck.Also, give values like 10, 20 a chance.
Indeed it didNo, but it could help.
This toggles it.reduce_bright_colors_activated
And this controls the intensity.reduce_bright_colors_level
I'm glad you made it!Indeed it did
The helper app was needed to initially create the settings but can now function without the option checked.
This toggles it.
And this controls the intensity.
However, the quick settings tile doesn't update properly when set via Macrodroid.
Oh well, they serve different purposes. For the one you mentioned I found that it goes from 0 to 100. -1 also works but not exactly sure what intensity that's at.I don't remember having to use the first setting.
Ah, I meant the official one that I was using in the screen recording where I tried using the macro you shared. Even now the results are the same; although I can set the two settings neither show in the System setting action list nor am I able to retrieve the current value using magic text.There's a "bug" with quick tiles in MacroDroid that the dev said that will be fixed, but I didn't check it yet.
If you're trying to change the name or icon of the tile and it doesn't update, use an action to turn off and then on (or reversed) the tile for it to update.