summaryrefslogtreecommitdiff
path: root/src/com/android/settings/development/WirelessDebuggingFragment.java
AgeCommit message (Collapse)Author
2021-01-14Use SettingsLib's MainSwitchBar to replace SwitchBar in Settings.Stanley Wang
To log Settings metrics, the MainSwitch extends MainSwitchBar and replace the SwitchBar in SettingsActivity. Bug: 175181773 Test: Run robotest and apply the widget in Settings and see the ui Change-Id: I3add3702e9058ad9192b5172c7cf0e2ccfb55a70
2020-06-10[adbwifi] Handle tls port changes.Joshua Duong
Events such as adbd restarts can change the connection port. We need to update the UI accordingly. Bug: 158219145 Test: Manual. 1) Enable wireless debugging in Settings and validate port in UI via > adb shell su 0 netstat -plnt | grep LISTEN 2) Restart adbd: > adb root 3) validate port again (may have changed) Change-Id: I93339a6a258fbf69fa3f45186863a01126d279ce
2020-03-20Add visibility control to ADB QR code preference.Joshua Duong
The preference should be hidden if isAdbWifiQrSupported() is false. Bug: 150163684 Bug: 149843499 Test: make RunSettingsRoboTests ROBOTEST_FILTER=AdbQrCodePreferenceControllerTest Change-Id: I3e833440fb1a6f369ac97cec8db04f2b99dd4640 (cherry picked from commit 6178918653785b38251bc83cd427b2343ad04b15) Exempt-From-Owner-Approval: cherry-pick
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