Commit Graph

530 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
b31522680b Consider new onConnectedClientsChanged unexpected 2021-05-26 17:35:24 -04:00
Mygod
d379b1bfc0 Support new SoftAp callback methods on Android 12 beta 1 2021-05-26 16:30:11 -04:00
Mygod
4b55227ed0 Try to use registerBestMatchingNetworkCallback 2021-05-26 16:30:11 -04:00
Mygod
0ac5b25f85 Migrate from using deprecated getLastTetherError 2021-05-26 16:30:11 -04:00
Mygod
bd6b23858b Refine processLines 2021-05-25 15:38:24 -04:00
Mygod
7254608331 Fix missing suspend in poll 2021-05-25 15:29:10 -04:00
Mygod
480dfc58f8 Fix forEachLine is not inline 2021-05-25 15:26:26 -04:00
Mygod
dbde2a20d6 Make ip monitor nonblocking 2021-05-25 15:24:28 -04:00
Mygod
160175b946 Remove outdated debug 2021-05-25 13:29:54 -04:00
Mygod
7fe980eac9 Be more descriptive about checks 2021-05-20 17:27:31 -04:00
Mygod
0b6e5e39c0 Fix byte orders in mac address 2021-05-19 16:17:04 -04:00
Mygod
2c89444c63 Suppress interface gone exceptions 2021-05-19 12:46:10 -04:00
Mygod
4e55bea9e2 Refine supported detection 2021-05-13 00:52:59 +08:00
Mygod
62b362276b Attempt to detect tether offload support dynamically on Android 8-
Addresses #224.
2021-05-11 23:02:14 -04:00
Mygod
cd2fdba3cd Refine code style 2021-05-05 19:25:10 -04:00
Mygod
6f9225b9cc Prevent Activity not found crash 2021-05-05 19:20:24 -04:00
Mygod
c16c5e0427 Fix ConcurrentModificationException 2021-05-05 19:15:14 -04:00
Mygod
9f510c9f5c Try class casting more gently 2021-05-05 13:12:25 -04:00
Mygod
baaa3f1d68 Improve debug info 2021-05-05 13:09:53 -04:00
Mygod
0adb857b2d Migrate to better MAC lookup 2021-05-05 11:49:15 -04:00
Mygod
5d23c96244 Avoid using contentToString for confusing output 2021-05-05 10:15:22 -04:00
Mygod
5c4f88967b Migrate from deprecated APIs 2021-05-05 10:04:55 -04:00
Mygod
0a3c6b3383 Fix buggy ROM crashing app 2021-05-05 09:19:49 -04:00
Mygod
310b55553b Suppress EBADF for RootServer as well 2021-04-24 12:56:04 -04:00
Mygod
ed13e3ba7f Apply check to errorStream as well 2021-04-18 16:32:26 -04:00
Mygod
78398a9eef Reduce process premature death warnings 2021-04-16 15:39:12 -04:00
Mygod
c26da4e5ba Fix callbacks not registered correctly on Android 12 DP 2021-04-16 14:52:46 -04:00
Mygod
446ab8e624 Fix resources possibly defined under a different package name 2021-04-16 14:40:32 -04:00
Mygod
791e41fb74 Use ExecutorCompat 2021-03-14 20:42:20 -04:00
Mygod
a1d86e4929 Fix bufferedReaders not closed 2021-02-02 03:03:50 +08:00
Mygod
3b7c6f0ebf Fix deprecated APIs 2020-12-16 06:20:33 +08:00
Mygod
825c7373a7 Filter out zero addresses in arp 2020-12-11 10:16:15 -05:00
Mygod
795caee54d Prevent RootServer.create cancelling the entire scope 2020-11-08 01:49:12 -05:00
Mygod
8c221d48e9 Check networkPrefixLength on stupid devices 2020-11-04 08:47:21 +08:00
Mygod
0aac5ddfdf Allow ethernetRegex to be not found 2020-11-04 08:28:37 +08:00
Mygod
ee98ea2caf Suppress CancellationException again 2020-11-04 07:48:43 +08:00
Mygod
ed80bf391a Fix setting open type SoftApConfiguration 2020-10-09 02:59:45 +08:00
Mygod
edebc10618 Prevent unexpected exit killing app 2020-10-09 02:52:29 +08:00
Mygod
8d8c5485b5 Update dependencies 2020-10-09 02:49:22 +08:00
Mygod
567d1cd9d0 Fix up fallback ip rules 2020-10-02 07:42:03 +08:00
Mygod
c276642161 Suppress more CancellationException 2020-10-02 07:05:20 +08:00
Mygod
4cc47562e0 Simplify onFallback 2020-10-02 06:14:16 +08:00
Mygod
71a854244d Prevent crash when input is invalid 2020-10-02 03:47:30 +08:00
Mygod
65f8d00ac4 Fix race in init 2020-09-20 01:32:57 +08:00
Mygod
45ea7a8bf3 Catch stupid runtimeexceptions 2020-09-12 04:12:28 +08:00