Commit Graph

237 Commits

Author SHA1 Message Date
Mygod
282fc71814 Clear error when permission is granted 2021-06-11 01:34:53 +08:00
Mygod
5d39ace3f0 Use recommended API for getting bluetooth adapter 2021-06-10 14:26:56 +08:00
Mygod
8918ff2377 Fix new BluetoothPan constructor 2021-06-10 14:20:38 +08:00
Mygod
a3481d43bb Merge branch 'master' into s 2021-06-10 14:09:21 +08:00
Mygod
fac1451e95 Fix pan initialization failure crash 2021-06-10 14:09:17 +08:00
Mygod
c0fdd5ef04 Refine code style 2021-06-05 14:42:45 +08:00
Mygod
dfcc860adb Fix repeater stuck when Location is off on Android 11+ 2021-06-05 14:42:45 +08:00
Mygod
9c45c3c49e Refine code style 2021-06-05 14:09:42 +08:00
Mygod
880843c8cb Fix repeater stuck when Location is off on Android 11+ 2021-06-04 02:00:14 -04:00
Mygod
835de08900 Listen for onBlockedClientConnecting whenever callback is registered 2021-05-31 20:07:07 -04:00
Mygod
c1aada8a8b Support querying features via WifiManager 2021-05-31 00:31:24 -04:00
Mygod
a6819a1def Support latest SACC features 2021-05-30 01:03:18 -04:00
Mygod
ada55a1bf6 Support obtaining p2p randomization setting 2021-05-29 20:49:51 -04:00
Mygod
b38498071f Support showing supported channels 2021-05-29 17:50:31 -04:00
Mygod
ed4475ebb1 Support for multi-band SACC 2021-05-29 14:58:46 -04:00
Mygod
257e4497cc Support basic clients count on Android 9-10 2021-05-28 22:41:25 -04:00
Mygod
0796c689d3 Format plural for numClients 2021-05-28 22:36:16 -04:00
Mygod
f75ac30804 Fix lint again 2021-05-28 21:20:51 -04:00
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