Commit Graph

594 Commits

Author SHA1 Message Date
Mygod
2fa91711ed Refine Wi-Fi lock descriptions 2018-12-26 01:44:41 +08:00
Mygod
9c2906944f Log a lot more about subroutings 2018-12-26 01:32:38 +08:00
Mygod
71011847c4 Remove tracking SocketException
This could happen normally after repeater is shutdown and the interface was also torn down by the system.
2018-12-26 00:29:57 +08:00
Mygod
0ff12b9aa9 Handle NullPointerExceptions 2018-12-25 23:42:52 +08:00
Mygod
1cf9b7378d Support buggy devices without if_indextoname 2018-12-25 23:39:08 +08:00
Mygod
5a6b19d31a Update README 2018-12-25 16:47:34 +08:00
Mygod
2b982dd349 Do not store redundant copy of bluetooth adapter 2018-12-25 16:26:18 +08:00
Mygod
ec08802fbd Refine code style 2018-12-25 13:02:53 +08:00
Mygod
b2534eb2c0 Do not update tile state when unsure 2018-12-25 12:57:25 +08:00
Mygod
36b0284573 Improve quick settings tiles reliability
Android apparently can decide to kill TileService when there are too many. Therefore, let's check if our service is connected before doing anything.

Source: https://android.googlesource.com/platform/frameworks/base/+/e1d13c9/packages/SystemUI/src/com/android/systemui/qs/external/TileServices.java#52
2018-12-25 12:17:43 +08:00
Mygod
426b93226d Add a lot more QS tiles
Fix #53. Also fix Bluetooth connection leaks.
2018-12-25 11:37:36 +08:00
Mygod
365287202e Fix crash on fast dismissal 2018-12-25 08:50:04 +08:00
Mygod
0bafc96370 Move Wi-Fi lock 2018-12-25 08:33:06 +08:00
Mygod
ae3aff5132 Do not keep alive by default 2018-12-24 23:22:59 +08:00
Mygod
ebf20714f6 Fix #55 2018-12-24 23:21:06 +08:00
Mygod
55443902be Support Wi-Fi keep alives 2018-12-23 23:35:55 +08:00
Mygod
c4260638f2 Update dependencies 2018-12-23 22:17:30 +08:00
Mygod
7c04377795 2.0.7 2018-12-22 16:28:50 +08:00
Mygod
ab201aeb97 Fix Crashlytics not working 2018-12-22 16:28:01 +08:00
Mygod
b34f39875f Fix crash when closing stats dialog 2018-12-22 11:11:11 +08:00
Mygod
adef53be54 Add missing translations 2018-12-21 18:06:15 +08:00
Mygod
690b923a43 Fix parser forgetting all non-owned groups 2018-12-21 18:03:33 +08:00
Mygod
5281f14e0f Listen for persistent group changes 2018-12-21 16:04:23 +08:00
Mygod
7b8c3f5b73 Use thisDevice to make sure the group is owned by us 2018-12-21 15:45:18 +08:00
Mygod
dae07f79ce Remove redundant P2P groups if found
If more than one group is found owned by the device, Android system will cycle through these groups using an LRU cache which is undesirable.

The reason for causing >1 groups is unknown.
2018-12-21 15:34:54 +08:00
Mygod
f1db0f2c8f Refactor using ViewModel 2018-12-21 15:06:03 +08:00
Mygod
e9421fd24f Fix crash in SmartSnackbar 2018-12-21 13:44:47 +08:00
Mygod
a48d441a15 Do not launch customTabs if no touchscreen found 2018-12-21 12:35:11 +08:00
Mygod
83aba3418b Do not show warning if manage fails 2018-12-21 12:04:52 +08:00
Mygod
c72a18de8a 2.0.6 2018-12-19 23:15:03 +08:00
Mygod
f478edb9af Fix missing methods on Android 8- 2018-12-19 23:14:49 +08:00
Mygod
5544c8fdc9 2.0.5 2018-12-19 17:10:12 +08:00
Mygod
dd2c171bb3 Suppress reporting interfaceName changes 2018-12-19 15:38:05 +08:00
Mygod
eadc2eb05f Suppress reporting expected SecurityException 2018-12-19 15:35:48 +08:00
Mygod
d8ccd47bac Refine cleaning routing rules 2018-12-19 15:32:16 +08:00
Mygod
7cf8a37b64 Downgrade gradle 2018-12-19 13:53:05 +08:00
Mygod
97fb67d7fd Refine IpNeighbour parser 2018-12-19 13:05:56 +08:00
Mygod
87f696e6cc Update dependencies 2018-12-19 13:05:43 +08:00
Mygod
f65ff47bac Show warning if startAlternative fails 2018-12-14 17:22:21 +08:00
Mygod
b409d26bbc Simplify exporting debug info 2018-12-14 10:09:29 +08:00
Mygod
373d45f668 Generalize ip neigh parser
Now we can rely on fewer assumptions.
2018-12-14 02:30:33 +08:00
Mygod
51a19a3c55 Stop tracking p2p failures 2018-12-14 02:04:47 +08:00
Mygod
f26716051c Allow iptables -w to output busy spin message 2018-12-14 02:00:31 +08:00
Mygod
b2346dca9a Do not report expected SecurityException 2018-12-14 01:50:36 +08:00
Mygod
6ae5aba6bb Suppress reporting interface becoming null 2018-12-14 01:45:54 +08:00
Mygod
cebc807c18 Prevent OOMs when exporting debug information 2018-12-14 01:12:27 +08:00
Mygod
366ae7dab6 Be more careful about checking upstreams were removed 2018-12-14 00:56:28 +08:00
Mygod
c3cb26ce35 Fix inconsistent behavior in onLost 2018-12-14 00:46:46 +08:00
Mygod
50925935e6 Fix crash in openDialog 2018-12-13 15:11:36 +08:00
Mygod
ca1fc946ca Remove repeater from UI if it's not supported
This could happen on devices like Chrome OS and Android emulators.
2018-12-13 15:04:21 +08:00