Commit Graph

65 Commits

Author SHA1 Message Date
Mygod
1b329558dc Only restore services when permitted 2021-10-29 23:13:52 -04:00
Mygod
aee1a45eba Support auto start services
Fixes #96.
2021-10-10 17:08:16 -04:00
Mygod
e9081e67d7 Refine code style 2021-08-29 19:45:14 -04:00
Mygod
e9979495e4 Check wifi ap state everywhere 2021-06-11 02:41:29 -04:00
Mygod
2bde3330b6 Support ap error codes on Android 6-8.1 2021-06-11 02:35:11 -04:00
Mygod
bb80359efb Refactor LOHService based on AOSP CarProjectionService 2021-06-11 02:20:55 -04:00
Mygod
d7b38c0933 Filter out local-only P2P interfaces 2020-10-02 07:24:58 +08:00
Mygod
0b02e7565e Make timeout configurable
ContentObserver is deprecated for this feature.

Additionally repeater supports auto shutdown in older API levels as well, while temporary hotspot only auto shutdown in API 28-29 for now.
2020-07-02 09:17:16 +08:00
Mygod
debbf7a4ce Only return valid entries in light mode 2020-06-22 10:05:12 +08:00
Mygod
ad218d7ec6 librootkotlinx
Fixes #14, #27, #114, #117.
2020-06-21 05:33:39 +08:00
Mygod
b9994bda9e Deprecate usage of BuildCompat 2020-06-11 03:17:42 +08:00
Mygod
6ab763013b First draft 2020-06-05 12:52:50 -04:00
Mygod
44df94dae2 Fix Handler constructor deprecation 2020-05-29 12:15:36 +08:00
Mygod
3cee5a4782 Migrate to open source firebase-crashlytics 2020-01-24 22:22:48 +08:00
Mygod
4689c9a975 Fix wifi lock not released when monitoring 2019-11-06 08:35:41 +08:00
Mygod
59036ca80d Fix race in LOHS 2019-10-25 05:12:38 +08:00
Mygod
13c43f9b0e Update dependencies 2019-10-24 11:10:55 +08:00
Mygod
134f0538a8 Simplify handling start temp hotspot failures 2019-09-19 11:48:56 +08:00
Mygod
add1c96d5c Show notification unconditionally since cancellation is available 2019-09-19 11:28:04 +08:00
Mygod
e2aeae9e2f Fix ANR caused by temp hotspot
Fixes #126.
2019-09-19 11:08:28 +08:00
Mygod
2669295857 Fix improper caller 2019-08-12 13:28:49 +08:00
Mygod
05a79acf78 Refine aggregator 2019-08-12 13:01:37 +08:00
Mygod
1f2ccf83b0 Fix dispatcher not closed 2019-07-31 08:53:45 +08:00
Mygod
69edebdaa9 Refine client counting 2019-07-20 18:23:07 +08:00
Mygod
b4121b7d66 Add tether timeout monitor for Android 9+ 2019-07-18 19:08:34 +08:00
Mygod
96fbb7ddf9 Fix temp hotspot 2019-07-17 17:31:45 +08:00
Mygod
b82ed72555 Merge branch 'v2.4' into q-beta 2019-04-28 14:34:53 +08:00
Mygod
243d103ca7 Refine code style 2019-04-14 13:35:36 +08:00
Mygod
bb41536eb1 Update to Android Q beta 2 APIs 2019-04-04 11:31:27 +08:00
Mygod
e112b10c55 Add Bluetooth on/off into consideration when using Bluetooth tethering 2019-03-18 19:02:50 +08: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
Mygod
43bb8af522 Wtf more debug 2019-02-01 21:49:09 +08:00
Mygod
bf000f86ed Bring down LOH onDestroy 2019-01-18 12:03:01 +08:00
Mygod
8b7b0b0b3e Fix flashing icons 2019-01-06 01:43:19 +08:00
Mygod
7c72b9a235 Caller already has an active LocalOnlyHotspot request is now unexpected 2019-01-01 12:38:25 +08:00
Mygod
fe33c88047 Improve debug logging mechanisms 2018-12-30 16:03:24 +08:00
Mygod
ddd3bfab2f Reduce garbage logs 2018-12-29 23:14:32 +08:00
Mygod
5c935348e7 Remove logging SecurityExceptions 2018-12-29 23:01:46 +08:00
Mygod
5fc67d4249 Refine code style 2018-12-29 01:38:50 +08:00
Mygod
67d3e8a52d Show invisible foreground notification on television to avoid being killed 2018-12-28 14:52:46 +08:00
Mygod
7eec6f7a06 Add starting state to temp hotspot 2018-12-28 14:42:45 +08:00
Mygod
55443902be Support Wi-Fi keep alives 2018-12-23 23:35:55 +08:00
Mygod
e347115908 Add back root unavailable prompt 2018-10-08 15:23:57 +08:00
Mygod
8e09e8cd8a Replace strict mode with fallback upstream interface
Fixes #40. Apparently we can no longer take advantage of default network rules set by Android system since Android 9.0 thanks to this commit: 758627c4d9
2018-10-03 13:02:28 +08:00
Mygod
4de93c5c02 Move monitors to a separate package 2018-10-02 23:44:06 +08:00
dwuku
d131d5d46b Make compatible with F-Droid (#42)
* Make compatible with F-Droid
* Fix title bar empty
2018-10-02 23:13:12 +08:00
Mygod
38f95a382e VPN Hotspot 2.0: Client+ (#39)
Fix #13, #38. I don't have a lot of confidence that this would work very well for every device.

Also here's an SQL command that hopefully somebody could make into the app for me: `SELECT TrafficRecord.mac, SUM(TrafficRecord.sentPackets), SUM(TrafficRecord.sentBytes), SUM(TrafficRecord.receivedPackets), SUM(TrafficRecord.receivedBytes) FROM TrafficRecord LEFT JOIN TrafficRecord AS Next ON TrafficRecord.id = Next.previousId WHERE Next.id IS NULL GROUP BY TrafficRecord.mac;`
2018-10-02 21:12:19 +08:00
Mygod
15d838893c SmartSnackbars 2018-08-08 16:03:30 +08:00