summaryrefslogtreecommitdiff
path: root/src/com/android/settings/wifi/NotifyOpenNetworksPreferenceController.java
AgeCommit message (Collapse)Author
2021-11-01Add highlight menu keys for all toggle pref controllers and custom slicesJason Chiu
Bug: 204695404 Test: manual, robotest build pass, unit Change-Id: Iad2e28ada8ddb766ffa7eff2c8dc581250cbd6f8
2019-05-24Refactor NotifyOpenNetworksPreferenceControllerTest into ↵Arc Wang
TogglePreferenceController NotifyOpenNetworksPreferenceControllerTest is essentially reimplementing TogglePreferenceController. Add below 2 changes for test failure of CodeInspectionTest 1. Remove some arguments from constructor of the controller 2. Declare the controller in xml instead of in code Bug: 132391311 Test: manual NotifyOpenNetworksPreferenceControllerTestTest Change-Id: Icda870ef0b90aacbacfe588b23d1b28d2b60941c
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-04-20Migrate Settings to androidx.Aurimas Liutikas
Test: make Settings Bug: 76692459 Change-Id: I941dea40562170649bf056e675cc32e5163c0e39
2017-06-26Make PreferenceController a mixinTony Mantler
Bug: 62912136 Test: Existing tests in BaseSearchIndexProviderTest Change-Id: Ieda359806c09a019840b2005446c7ec8b61fdb00
2017-05-12Depend on SettingsLib's version of lifecycle and FooterMixin.Juan Lang
The implementations have been imported into SettingsLib. Setting's copy can now be removed, which this change also does. Test: Manually check battery status, which uses FooterMixin, looks OK. make RunSettingsLibRobotTests && make RunSettingsRoboTests && make RunSettingsGoogleRoboTests Change-Id: I6539605fdad80d156ff5ff249e68df4a1c412067
2017-05-09Update "Open networks available" setting.Amin Shaikh
- Remove gating ONA toggle on whether network recommendations are enabled. It is always on and provided by the wifi framework. Bug: 37794067 Test: m RunSettingsRoboTests && tested locally Change-Id: I312858d50b348bbe829538d4fa337b2072cb2043
2017-05-09Revert "Update "Open networks available" toggle to instead open notification ↵Amin Shaikh
channel preferences." This reverts commit 2c4b42c0b7a227ed78a1ac89600deb7d6eadfd3b. Reason for revert: Need to use Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON to toggle the feature because system NotificationChannels cannot be disabled. Bug: 37794067 Test: m RunSettingsRoboTests Change-Id: I6aaad78686f4fe929fd6bcd94897341fdaf6bd23
2017-04-11Update "Open networks available" toggle to instead open notification channel ↵Stephen Chen
preferences. Bug: 36526438 Test: make ROBOTEST_FILTER=NotifyOpenNetworkPreferenceControllerTest RunSettingsRoboTests -j40 Change-Id: Idde3949856d050e62abff2c75a7b7db475a94d99
2017-01-11Add Settings toggle for Wi-Fi Wakeup.Amin Shaikh
- Added switch toggle to Configure Wi-Fi Settings for Wi-Fi Wakeup - Disable Wi-Fi Open Networks Notifications and Wi-Fi Wakeup toggles if NETWORK_RECOMMENDATIONS_ENABLED is disabled Test: make -j40 RunSettingsRoboTests Bug: 33224845 Change-Id: I2a52c5d1e60f618aefa125c7806fa95ca19a0ca9
2017-01-10Refactor ConfigureWifiSettings for better testingFan Zhang
Fix: 34205150 Test: make -j40 RunSettingsRoboTests Change-Id: I7a8a0c89c087365fb50f3a9edd2cf64b2dda647c