Google brought global dark mode to Android 10, but unfortunately, the automatic switching of dark mode in the early testing phase of Android 10 was cut off by Google. However, this feature may return in a future Android version, according to XDA.
Chris Banes, a member of the Android development team, explained why this feature was cut.
He said that the automatic switching of the dark mode function requires access to the application's precise location information, and even in a valid location, the calculation of sunrise/sunset time may be incorrect.
He noted that calculating the time of sunrise / sunset is notoriously difficult, especially near the Arctic / South Pole.
Chris Banes ’explanation caused a lot of questions from users. When asked why the Night Light feature was launched after Android 7.1 Nougat, Chris Banes said that because the Night Light feature refers to the alertAstronomer in ICU4J, it uses“ a large amount of Unwanted code for AppCompat. "
Later, as users complained more and more, a Google insider confirmed that the automatic switching of the dark mode function will return in future Android versions. The specific version number was not mentioned. It is said that it will be re-launched in Android 11.