Commit Graph

26 Commits

Author SHA1 Message Date
Mygod
c8c3cb00b7 Suppress cancellation again 2020-07-19 02:38:45 +08:00
Mygod
fbb1483969 Refine code style 2020-07-03 02:36:28 +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
0b57c3d9a1 Fix various crashes 2020-06-24 10:17:13 +08:00
Mygod
ad218d7ec6 librootkotlinx
Fixes #14, #27, #114, #117.
2020-06-21 05:33:39 +08:00
Mygod
8afa63a20e Merge branch 'master' into r 2020-06-12 13:19:59 +08:00
Mygod
8d6d4a6c6e Add synchronization for RoutingManager 2020-06-12 00:26:43 -04:00
Mygod
b9994bda9e Deprecate usage of BuildCompat 2020-06-11 03:17:42 +08:00
Mygod
a40a07b76e Use in-process listener to ensure callback order 2020-05-29 21:33:09 -04:00
Mygod
069b32a7d9 Correctly handle TetherType changing 2020-05-29 21:20:53 -04: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
006e4e47c0 Update dependencies 2020-01-20 10:05:01 +08:00
Mygod
6af6b3ce15 Fix broken reapply rules 2020-01-09 22:54:48 +08:00
Mygod
4689c9a975 Fix wifi lock not released when monitoring 2019-11-06 08:35:41 +08:00
Mygod
650b06beae Update dependencies and refine code style 2019-09-19 10:36:13 +08:00
Mygod
bed11276b9 Refine error report 2019-07-31 08:47:08 +08:00
Mygod
90f75b4092 Skip cleaning if nothing is running 2019-07-19 11:22:26 +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
c86639db43 Disable netd for Android 8.1 and lower 2019-07-15 19:08:47 +08:00
Mygod
07ce4f4e25 Allow user to exit app easily 2019-07-11 11:08:54 +08:00
Mygod
aedba90196 Lift double routing detection out of Routing 2019-03-09 01:46:01 -05:00
Mygod
481cceb3e3 Move clean to RoutingManager 2019-03-08 13:39:28 -05:00
Mygod
cbc65f989c Support monitoring tethered interface
This would be useful to be used in together with Instant Tethering + Turn off hotspot automatically.

Refine #26, #53.
2019-02-06 01:27:21 +08:00
Mygod
89a4e9f071 Simplify WifiDoubleLock invocations 2019-02-05 17:42:49 +08:00
Mygod
8132b2766d Remove fallback DNS 2019-02-04 23:30:29 +08:00