And why didn’t Google add the same functionality to Android 10?
In Android 10, users can easily switch between light and dark themes by tapping on the corresponding icon in the quick settings panel. But you must admit that it would be much more convenient if the smartphone automatically switched themes, depending on the time of day. And with the Automatic Dark Theme app you can now implement this.
True, in order to access the application settings, you will first have to register an ADB command, which will allow it to make changes to the system. The whole process will take you no more than 5 minutes.
First, go to your smartphone’s settings and click Build number (About phone – Build number) seven times. After that, the settings menu for developers (System – Advanced – Developer options) will become available to you. In the settings for developers, find the USB Debugging line and activate it.
Next, you need to download and install Adb to your computer. Then open a command prompt in the ADB folder (command to go “cd c: / adb”). Now connect the smartphone to the computer. To check whether you have correctly installed and done everything on your smartphone, enter the command “adb devices” – in response you will receive the line “List of devices attached” and below the alphanumeric designation of your device.
After that, enter the command specified in the application (adb shell pm grant com.cannic.apps.automaticdarktheme android.permission.WRITE_SECURE_SETTINGS).
Done, now in the Automatic Dark Theme application, click Enable and you can set the time for automatically switching themes.
In the future, the application developer plans to add the ability to switch themes, depending on the sunset / dawn time. I note that the change of theme occurs at a time when the smartphone is locked. Otherwise, applications could be reloaded to change the look and feel while you use them. You can download the Automatic Dark Theme app at Play store.
Source: Android Police