Commit Graph

65 Commits

Author SHA1 Message Date
Mygod
e679974796 Refine location permission check for repeater 2021-05-19 14:25:02 -04:00
Mygod
1d0422a8ec Prevent toCompat crash 2020-07-31 04:23:43 +08:00
Mygod
82dc01ab37 Suppress SecurityException on Android 8-10 2020-07-07 04:20:24 +08:00
Mygod
a27460b58a Support TetherTimeoutMonitor.setEnabled properly 2020-07-03 13:00:43 +08:00
Mygod
798275e9c9 Initial support for registerSoftApCallback 2020-07-03 07:38:51 +08:00
Mygod
5e4cebc346 Support WiGig tethering
As per: https://android-review.googlesource.com/c/platform/frameworks/base/+/1177323
2020-07-01 13:15:47 -04:00
Mygod
0f547e6750 Refine permission handling 2020-07-01 23:58:17 +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
bf352297ec Use new fragment result API 2020-06-01 19:02:56 -04:00
Mygod
21e4700b60 Use RequestPermission contract 2020-06-01 16:59:21 -04:00
Mygod
379c3b226f Use viewTreeLifecycleOwner 2020-06-01 16:21:49 -04:00
Mygod
fb5283e61a updateConfiguration without being cancelled 2020-06-01 16:16:57 -04:00
Mygod
d328215764 Wait for size to be submitted 2020-05-29 21:39:32 -04: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
1ca69cf3a6 Preliminary support for Ethernet and NCM tethering 2020-05-28 00:18:10 -04:00
Mygod
faf0b2c179 v2.9.1 2020-05-23 09:20:47 +08:00
Mygod
a55a2a8886 Fix a crash caused by race 2020-05-23 08:55:14 +08:00
Mygod
006e4e47c0 Update dependencies 2020-01-20 10:05:01 +08:00
Mygod
650b06beae Update dependencies and refine code style 2019-09-19 10:36:13 +08:00
Mygod
3bd81b942f Fix editing Repeater config 2019-07-17 17:14:27 +08:00
Mygod
f629efc4f0 Remember activity for monitor 2019-07-05 01:40:03 +08:00
Mygod
98246ec6d8 Merge branch 'v2.4' into q-beta 2019-06-01 07:58:55 +08:00
Mygod
b7b4298fb4 Catch remote exceptions while setting wifi config 2019-06-01 07:48:26 +08:00
Mygod
b70abd6ffb Merge branch 'v2.4' into q-beta 2019-04-14 13:06:12 +08:00
Mygod
484e868f1a Merge branch 'master' into v2.4 2019-04-14 10:27:46 +08:00
Mygod
f6422432b4 Fix requireActivity failures 2019-04-07 08:00:13 +08:00
Mygod
6b951519fe Merge branch 'v3' into q-beta 2019-04-04 19:37:27 +08:00
Mygod
1145b0f23b Support editing native Wi-Fi AP configurations
Support for repeater channel on Android 5 has been dropped because I am lazy.
2019-04-04 18:06:18 +08:00
Mygod
834498b1ff Deprecate reset credentials
Due to persistent groups no longer useful in Android Q, this feature will be removed. Users on older releases can remove remembered groups from Wi-Fi Direct settings manually.
2019-04-04 18:06:18 +08:00
Mygod
bb41536eb1 Update to Android Q beta 2 APIs 2019-04-04 11:31:27 +08:00
Mygod
400d4e67a3 Merge branch 'master' into q-beta 2019-04-04 11:09:47 +08:00
Mygod
f97afdf8ae Prevent recreating monitor MenuItem 2019-04-03 16:32:55 +08:00
Mygod
da9d647339 Fix WifiP2p permissions 2019-03-20 11:53:08 +08:00
Mygod
e112b10c55 Add Bluetooth on/off into consideration when using Bluetooth tethering 2019-03-18 19:02:50 +08:00
Mygod
0be1116121 Refine code style 2019-02-17 12:51:20 +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
94114f7a4b Migrate to LiveData
Benefit includes: no more flush after changing nickname. Yep.
2019-01-26 14:48:27 +08:00
Mygod
0aa77ef82d Use AppCompatDialogFragment 2019-01-23 15:23:26 +08:00
Mygod
a936b4e058 Allow usage of legacy Wi-Fi switch in-app only on 7.1 2019-01-23 12:10:56 +08:00
Mygod
1048fa830a Remove legacy Wi-Fi switch for Android 7.1
Fixes #64.
2019-01-22 23:38:56 +08:00
Mygod
ea9145c2bd Mute SocketException 2019-01-06 00:47:53 +08:00
Mygod
719e8245a7 Mute more SocketException 2019-01-03 23:55:29 +08:00
Mygod
24c1d810d5 Fix AlertDialogFragment 2019-01-01 12:44:02 +08:00
Mygod
fe33c88047 Improve debug logging mechanisms 2018-12-30 16:03:24 +08:00
Mygod
7eec6f7a06 Add starting state to temp hotspot 2018-12-28 14:42:45 +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
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