Commit Graph

322 Commits

Author SHA1 Message Date
Mygod
b833d94002 Refine error message 2020-05-23 09:04:58 +08:00
Mygod
4336632508 Prevent deadlocks by avoiding calling callbacks in locked blocks 2020-05-23 05:52:32 +08:00
Mygod
48ca2c1623 Prevent calling callback in synchronized 2020-04-23 04:02:12 +08:00
Mygod
099c6b2a73 Fix OEM bugs on Android 6 2020-04-23 03:50:35 +08:00
Mygod
3ba9a322c2 Allow user to turn off safe mode on Android 10 (Mar 2020 or newer)
Fixes #153.

Basically, this "forward"-ports a workaround for Android 9- thanks to Jimmy Chen.
As a consequence, #31 might reoccur if you turn off safe mode.
2020-04-22 12:28:38 +08:00
Mygod
3260783eec Migrate to ktx API 2020-04-20 03:29:05 +08:00
Mygod
cf2beb8aac Update dependencies 2020-04-20 03:17:41 +08:00
Mygod
418618eecb Fix crash on Android R beta 1 2020-03-02 10:00:15 +08:00
Mygod
7edb09ad2c Fix deadlocks 2020-03-02 10:00:15 +08:00
Mygod
1507050eea Fix #142 2020-01-26 13:39:56 +08:00
Mygod
3cee5a4782 Migrate to open source firebase-crashlytics 2020-01-24 22:22:48 +08:00
Mygod
b55ad234ac Misc fixes 2020-01-23 10:02:00 +08:00
Mygod
2298f7858f Prevent DialogFragment.show crash 2020-01-23 09:29:51 +08:00
Mygod
22d81bb0b4 Fix lint 2020-01-20 19:08:48 +08:00
Mygod
59b4a464b0 Notify all LinkProperties for onAvailable 2020-01-20 10:05:01 +08:00
Mygod
006e4e47c0 Update dependencies 2020-01-20 10:05:01 +08:00
Mygod
15ef02143b Fix deprecations 2020-01-09 23:12:23 +08:00
Mygod
def2f971c9 Skip setting button after destroyed 2020-01-09 23:05:45 +08:00
Mygod
c5e42b168c Sync QR string generation with AOSP 2019-12-09 22:13:17 +08:00
Mygod
13c43f9b0e Update dependencies 2019-10-24 11:10:55 +08:00
Mygod
d6da72e43c Fix catastrophic error 2019-09-19 12:29:10 +08:00
Mygod
ae3dc81aba Fix ConcurrentModificationException in DhcpWorkaround 2019-09-19 11:43:36 +08:00
Mygod
20592ab9e9 Fix another async unregister 2019-09-19 11:41:12 +08:00
Mygod
e2aeae9e2f Fix ANR caused by temp hotspot
Fixes #126.
2019-09-19 11:08:28 +08:00
Mygod
650b06beae Update dependencies and refine code style 2019-09-19 10:36:13 +08:00
Mygod
c483c5ad06 Use a less invasive method for disabling IPv6 tethering
Fixes #33.
2019-08-27 23:38:53 +08:00
Mygod
df9cb6180a Friendly reject blocked clients 2019-08-27 23:24:23 +08:00
Mygod
84db20dd88 Remove unnecessary synchronization 2019-08-12 13:45:50 +08:00
Mygod
3770acf561 Avoid runBlocking 2019-08-12 13:13:29 +08:00
Mygod
05a79acf78 Refine aggregator 2019-08-12 13:01:37 +08:00
Mygod
7c3b1a6527 lol why not 2019-08-02 13:45:01 +08:00
Mygod
f8766fde59 Refine onAvailable handling
Do not assume interfaceName unchanging.
2019-08-02 13:41:09 +08:00
Mygod
193a918fce Prevent callbacks called in main 2019-07-30 10:08:12 +08:00
Mygod
0ab3ccf8d5 Various bugfixes 2019-07-20 16:15:26 +08:00
Mygod
a8975d7471 v2.5.1 2019-07-18 23:09:29 +08:00
Mygod
b4121b7d66 Add tether timeout monitor for Android 9+ 2019-07-18 19:08:34 +08:00
Mygod
81979aad38 Fix another concurrent modification 2019-07-18 14:12:16 +08:00
Mygod
7a4264e2df Fix ConcurrentModification 2019-07-17 16:21:37 +08:00
Mygod
f61f694d5f Prevent initiailizing su in main thread
This should hopefully fix #113.
2019-07-16 10:23:21 +08:00
Mygod
983e80596b Fix a missing synchronized 2019-07-16 09:40:05 +08:00
Mygod
5583e742ca Revert "Remove fallback upstream monitor"
This commit reverts 99e721bf7e.

Fixes #119.
2019-07-15 23:28:48 +08:00
Mygod
654c1fc48f Refine code style 2019-07-15 22:58:16 +08:00
Mygod
2d70595358 Do not disable nat to prevent conflicts with system 2019-07-15 19:21:52 +08:00
Mygod
c86639db43 Disable netd for Android 8.1 and lower 2019-07-15 19:08:47 +08:00
Mygod
9a69c4006e Add shortcut for tether offload
Fix #41.
2019-07-11 11:09:47 +08:00
Mygod
895613c00b Be more helpful about logging allowedKeyMgmt 2019-07-08 11:28:37 +08:00
Mygod
c3f8bf7b16 Fix IllegalStateException 2019-06-20 23:00:59 +08:00
Mygod
87cf54e3e5 Update dependencies 2019-06-20 23:00:46 +08:00
Mygod
28dbbbaa3a Use fallback empty configuration as fallback 2019-06-14 11:48:24 +08:00
Mygod
5c32c46970 Fix build 2019-06-10 23:18:49 +08:00