summaryrefslogtreecommitdiff
path: root/src/com/android/settings/display/NightDisplayAutoModePreferenceController.java
AgeCommit message (Collapse)Author
2020-05-14Revert "Revert "Unable to select twilight scheduling after enabling location""Jay Aliomer
This reverts commit 782438347bdc0ecdf0f0e27ece27cadd5525ada1. Bug: 153115261 Reason for revert: fixing tests Change-Id: I497a2b83cbe3eaee5f5fb3eb4df73618130fc6e2
2020-05-13Revert "Unable to select twilight scheduling after enabling location"Edgar Wang
This reverts commit 9073b2f96802ce793aa312c0773836de51253da7. Bug: 153115261 Reason for revert: this CL make Settings robolectric test fail at com.android.settings.display.darkmode.DarkModeScheduleSelectorControllerTest Change-Id: I3f1ba35f55f2905b10ca97149268be6074780eda
2020-05-11Unable to select twilight scheduling after enabling locationJay Aliomer
Test: run settings tests Change-Id: I74945dd69f0da9733ee0a5e27ab63852df9544e9 Bug: 153115261
2020-04-03Turn on location dialog when using twilight schedulingJay Aliomer
Night light and Dark theme scheduling does not work when in twiligth mode. For the reason, we added a dialog to inform the user that they need to turn on location services first. Fixes: 153115618 Fixes: 153115261 Test: manual Change-Id: Iea51018a7caba5c0ec93e058ee047d067bc03867
2019-01-24Use ColorDisplayManager for night display settingsChristine Franks
Bug: 123352608 Test: make ROBOTEST_FILTER="(Night*)" RunSettingsRoboTests -j48 Change-Id: Id4ab9ca4a21243be5967d63db72212daefb3dcb9
2019-01-23Use ColorDisplayManager for night displayChristine Franks
Bug: 111215474 Test: make ROBOTEST_FILTER="(Night*)" RunSettingsRoboTests -j48 Change-Id: I8b92407470446ef86e460985fc64cf2467eb3e5c
2018-11-28Move color management check to ColorDisplayManagerChristine Franks
Bug: 111215474 Test: make RunSettingsRoboTests -j100 Change-Id: I8ab675a49e119014e59fcfdb61fcd9253e8c0da1
2018-11-06Use ColorDisplayManagerChristine Franks
Bug: 111215474 Test: make RunSettingsRoboTests -j100 Change-Id: I78bb44a1c4824f2b5223ca0d58ad224b96591d9a
2018-08-28Sort importsFan Zhang
Having consistent import order will reduce chance of merge conflict between internal and external master Test: rebuild Change-Id: I0b1a170967ddcce7f388603fd521f6ed1eeba30b
2018-06-18Reorder and clean up imports.Fan Zhang
Test: rebuild Change-Id: I178485c84ae7146f991fd77b6d7504b029942a68
2018-05-09Establish permanently unavailable settingsMatthew Fritze
Distinguish between settings which are permanently unavailable on the device, and temporarily unavailable. This enables us to restrict which setting slices are exposed in onSliceGetDescendants. The primary changes in this CL are renaming: "DISABLED_UNSUPPORTED" -> "UNSUPPORTED_ON_DEVICE" to be more clear the the setting will cannot be accessed on the device, and, adding a new enum to encapsulate settings which are currently unavailable, but could be enabled in the future. Also remove UNAVAILABLE_UNKNOWN. Devs should never need this enum. Bug: 78910582 Bug: 79245656 Test: robotests Change-Id: I58821a6cfd6134b3b351657b6edf5f74ead00643
2018-05-02Add night display pref controllers and change UXChristine Franks
- Convert NightDisplaySettings to a DashboardFragment - Add preference controllers for all Night Display settings - Change UX for activation from a toggle to a button Bug: 73739388 Bug: 69912911 Test: make -j100 and make RunSettingsRoboTests -j100 Change-Id: Ia173f16207ba59bf57eb7546cbb1e2dbca67b063