summaryrefslogtreecommitdiff
path: root/src/com/android/settings/development/WirelessDebuggingPreferenceController.java
AgeCommit message (Collapse)Author
2021-01-06Merge "[adb-wireless] Allow ADB-over-WiFi when WiFi is not default" am: ↵Treehugger Robot
d3d0962cd1 am: 8677c6a4b7 am: e632315dc8 Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1526372 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I35c38f7dea0fa7112dd96401f13ad14a00698324
2021-01-06[adb-wireless] Allow ADB-over-WiFi when WiFi is not defaultJason Jeremy Iman
When other network types with higher priority than wifi is connected alongside wifi, turning on ADB over wifi is not possible. This is happening due to `isWifiConnected()` only checks if wifi is the default network and not if wifi is connected. Often times multiple networks such as ethernet is used in conjuction with wifi, making ADB over wifi not working with the setup. Fix by returning if any available network is a WiFi network. Bug: 173466085 Test: Tested on eve Chrome OS ARCVM, ADB WiFi can be toggled when WiFi is not the default network. Change-Id: I8474a4e8b37a4af0031e1462645509f1e634e9a8
2020-07-29Update language to comply with Android's inclusive language guidanceEdgar Wang
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Test: robotest & manual Change-Id: I890335a0c0e31f7d3ea32c6130482e4ef0e20b88
2020-07-21[Wi-Fi] WiFi Settings inclusive language fix plan phase 1govenliu
Replace WiFi related terms which contain Master wording. Goal: Create a fixit for Android Platform to reduce the use of non-inclusive language for all code. Bug: 161425297 Test: make RunSettingsRoboTests -j or make RunSettingsRoboTests ROBOTEST_FILTER=DashboardFragmentTest make RunSettingsRoboTests ROBOTEST_FILTER=WirelessDebuggingPreferenceControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=AutomaticStorageManagementSwitchPreferenceControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=AllInOneTetherPreferenceControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=TopLevelNetworkEntryPreferenceControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=PrimarySwitchPreferenceTest make RunSettingsRoboTests ROBOTEST_FILTER=WifiPrimarySwitchPreferenceControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=WifiTetherPreferenceControllerTest Change-Id: I9395c50e092e124016609f88f7c8151554a0d874
2020-04-10[adbwifi] Add qstile for wireless debugging.Joshua Duong
Bug: 153275926 Test: make RunSettingsRoboTests ROBOTEST_FILTER=WirelessDebuggingTest Change-Id: I6b381a7e29beec5c9c345b374e127caabdb674db (cherry picked from commit 0c23d39f941c50d00cc8a9b5f5ee100ee5c17b48) Exempt-From-Owner-Approval: cherry-pick
2020-04-09[adbwifi] Add qstile for wireless debugging.Joshua Duong
Bug: 153275926 Test: make RunSettingsRoboTests ROBOTEST_FILTER=WirelessDebuggingTest Change-Id: I6b381a7e29beec5c9c345b374e127caabdb674db
2020-03-20Add toast error message for no WiFi on wireless debugging.Joshua Duong
Show a toast to connect to a WiFi network when the user tries to enable wireless debugging while not connected to any Wi-Fi network. Bug: 150139061 Bug: 149843499 Test: make RunSettingsRoboTests ROBOTEST_FILTER=WirelessDebuggingPreferenceControllerTest Test: make RunSettingsRoboTests ROBOTEST_FILTER=WirelessDebuggingEnablerTest Change-Id: I389f5fddc874f60e8156ecf6ef2f1c6eddc1d7a5 Exempt-From-Owner-Approval: LGTM (cherry picked from commit 564f6ba77085c5fe6805bdd7cdc07343bef82eb3)
2020-03-20Add toast error message for no WiFi on wireless debugging.Joshua Duong
Show a toast to connect to a WiFi network when the user tries to enable wireless debugging while not connected to any Wi-Fi network. Bug: 150139061 Bug: 149843499 Test: make RunSettingsRoboTests ROBOTEST_FILTER=WirelessDebuggingPreferenceControllerTest Test: make RunSettingsRoboTests ROBOTEST_FILTER=WirelessDebuggingEnablerTest Change-Id: I389f5fddc874f60e8156ecf6ef2f1c6eddc1d7a5 Exempt-From-Owner-Approval: LGTM
2020-02-21[adb-wireless] Add Wireless Debugging Switch in Developer options.Joshua Duong
Bug: 111434128 Bug: 119492574 Test: make RunSettingsRoboTests ROBOTEST_FILTER=WirelessDebugging Change-Id: I188badb43035172642cf235bb27e56d3a1dea169