Commit Graph

219 Commits

Author SHA1 Message Date
Mygod
87a1b8b08d Refine code style 2021-05-27 13:33:26 -04:00
Mygod
ea076d9602 Support ap identifier for WifiClient 2021-05-26 21:54:12 -04:00
Mygod
168c9ff6f1 Refactor SoftApCapability 2021-05-26 21:23:18 -04:00
Mygod
50de5a269c Support new fields in SoftApInfo 2021-05-26 20:58:59 -04:00
Mygod
7a40927bcc Support new onInfoChanged method 2021-05-26 19:11:51 -04:00
Mygod
e01dfe992b Use Manifest.permission 2021-05-26 16:30:11 -04:00
Mygod
0ac5b25f85 Migrate from using deprecated getLastTetherError 2021-05-26 16:30:11 -04:00
Mygod
f55b42b6a1 Suppress SecurityExceptions on S 2021-05-20 09:45:49 -04:00
Mygod
71f466913a Support BLUETOOTH_CONNECT permission on Android 12 beta 2021-05-19 14:55:34 -04:00
Mygod
e679974796 Refine location permission check for repeater 2021-05-19 14:25:02 -04:00
Mygod
62b362276b Attempt to detect tether offload support dynamically on Android 8-
Addresses #224.
2021-05-11 23:02:14 -04:00
Mygod
3b7c6f0ebf Fix deprecated APIs 2020-12-16 06:20:33 +08:00
Mygod
c276642161 Suppress more CancellationException 2020-10-02 07:05:20 +08:00
Mygod
2989094efd Update dependencies 2020-08-18 04:43:53 +08:00
Mygod
ffe087cc3b Fail without crashing the app 2020-08-09 16:36:35 -04:00
Mygod
5e5e3b9965 Also print blocked client in log 2020-08-08 02:57:52 +08:00
Mygod
e7cf432348 Fix toasting on wrong thread 2020-08-07 07:00:08 +08:00
Mygod
ba80e922b8 Refine code style 2020-08-04 03:07:04 +08:00
Mygod
1d0422a8ec Prevent toCompat crash 2020-07-31 04:23:43 +08:00
Mygod
46658a269d Set operatingBand even if unused 2020-07-28 03:52:05 +08:00
Mygod
0f16210c80 Misc fixes 2020-07-18 03:20:22 +08:00
Mygod
514aadd6af Suppress CancellationException 2020-07-17 05:56:56 +08:00
Mygod
e27d4c4068 Handle TETHER_ERROR_NO_CHANGE_TETHERING_PERMISSION correctly 2020-07-09 02:32:35 +08:00
Mygod
b7d01333fd Fix missing quantity strings 2020-07-07 06:59:06 +08:00
Mygod
a1b076cee9 Check bluetooth supported before registering pan 2020-07-07 05:02:36 +08:00
Mygod
1ef2718d8c Respect system thisDevice 2020-07-07 04:54:26 +08:00
Mygod
82dc01ab37 Suppress SecurityException on Android 8-10 2020-07-07 04:20:24 +08:00
Mygod
029a1527a7 Handle errors in WifiLegacy 2020-07-07 03:26:50 +08:00
Mygod
278f3f143b Implement client limiting and MAC address filtering 2020-07-04 05:43:24 +08:00
Mygod
46d0544df2 Localize strings 2020-07-04 04:34:58 +08:00
Mygod
a27460b58a Support TetherTimeoutMonitor.setEnabled properly 2020-07-03 13:00:43 +08:00
Mygod
4b1101f41e Suppress useless logcat 2020-07-03 09:12:12 +08:00
Mygod
76f142c31a Output no features available if appropriate 2020-07-03 09:09:39 +08:00
Mygod
1ad1ee0861 Show channel as well as width 2020-07-03 09:01:02 +08:00
Mygod
00767d2fd6 Add more information to Wi-Fi hotspot display 2020-07-03 08:47:33 +08:00
Mygod
4f97f9bf74 Implement ConstantLookup 2020-07-03 08:11:37 +08:00
Mygod
9231681b45 Rename error to text 2020-07-03 07:57:45 +08:00
Mygod
798275e9c9 Initial support for registerSoftApCallback 2020-07-03 07:38:51 +08:00
Mygod
b86653156b Fix error handling in onTetheringFailed 2020-07-02 09:40:19 +08:00
Mygod
6b0978bdf3 Make repeater timeout configurable 2020-07-02 09:37:17 +08:00
Mygod
0b02e7565e Make timeout configurable
ContentObserver is deprecated for this feature.

Additionally repeater supports auto shutdown in older API levels as well, while temporary hotspot only auto shutdown in API 28-29 for now.
2020-07-02 09:17:16 +08:00
Mygod
4c5265f0c2 Fix frequency calculations 2020-07-02 08:39:42 +08:00
Mygod
d462b3ac07 Fix persistent group on Android 11
Also only request persistent group when necessary.
2020-07-02 07:02:24 +08:00
Mygod
5e4cebc346 Support WiGig tethering
As per: https://android-review.googlesource.com/c/platform/frameworks/base/+/1177323
2020-07-01 13:15:47 -04:00
Mygod
0f547e6750 Refine permission handling 2020-07-01 23:58:17 +08:00
Mygod
d2af382911 Catch NoShellException 2020-06-24 07:07:34 +08:00
Mygod
659c1a34e0 Make BluetoothPan accessible 2020-06-24 06:56:17 +08:00
Mygod
debbf7a4ce Only return valid entries in light mode 2020-06-22 10:05:12 +08:00
Mygod
75f85216fa Revert "Lazily start IpNeighbourMonitor in qs tiles"
This reverts commit 490f6c5115.
2020-06-21 00:05:32 -04:00
Mygod
490f6c5115 Lazily start IpNeighbourMonitor in qs tiles 2020-06-20 23:43:20 -04:00