Dark mode scheduling could be coming in Android 11
With Android 10, Google finally introduced one of the most-requested features of all time — a system-wide dark mode. The feature even prompted Google and other developers to release dark themes for their apps to make night-time usage a little easier on your eyes. However, Google didn’t include a crucial feature that was available in early beta releases of the software. Google previously allowed users to schedule the dark mode based on the time of the day, much like night sight. But with the stable release of Android 10, Google got rid of that feature. In an AMA earlier this year, the company revealed that the feature was deprecated as it might negatively affect the user experience by suddenly restarting applications while they’re in use. Now, a recent comment on the Google Issue Tracker reveals that the feature might make a comeback in Android 11.
In the aforementioned AMA, Chris Banes from the Android Developer Relations team at Google also revealed that the feature was deprecated in AppCompat v1.1.0 because it “requires apps to request location permissions to be accurate, and even with a valid location the sunrise/sunset time calculations can be buggy.” He further added that “calculating sunrise/sunsets are notoriously difficult, especially for locations close to north/south poles.” When asked about similar functionality available for Night Light since Android 7.1 Nougat, Banes stated that since Night Light uses CalendarAstronomer from ICU4J, it uses a “big chunk of code which we wouldn’t want AppCompat to depend on.”
Following a number of complaints from users though, a Googler has now confirmed that the scheduling feature will be added in a future Android release. In case you don’t wish to wait for Google to add the feature sometime down the line, you’d be glad to know that there’s a third-party app that will help you set up dark mode scheduling in Android 10. You can head over to this post and go through the instructions to set up dark mode scheduling on your device. Do note that the workaround requires you to run a command via ADB, so you’ll need a PC handy for the app to work.
Source: Google Issue Tracker
The post Dark mode scheduling could be coming in Android 11 appeared first on xda-developers.
from xda-developers https://ift.tt/2srRtho
via IFTTT
No comments: