Commit Graph

153 Commits

Author SHA1 Message Date
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
9e820e888f Use invoke operators 2020-05-30 21:01:22 -04:00
Mygod
a3027812f0 Misc refinements 2020-05-31 07:42:23 +08: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
299085293d Merge branch 'master' into r 2020-05-29 20:54:26 -04:00
Mygod
803863065a Remove unnecessary abstraction 2020-05-29 20:41:07 -04:00
Mygod
9686645c03 Propagate Bluetooth error message out to UI 2020-05-29 18:24:12 -04:00
Mygod
1ca69cf3a6 Preliminary support for Ethernet and NCM tethering 2020-05-28 00:18:10 -04:00
Mygod
b4d2b79ae9 Implement new startTethering API 2020-05-28 00:18:10 -04:00
Mygod
991a3466ca Rename start/stopTethering to maintain consistency with framework 2020-05-28 00:18:10 -04:00
Mygod
60ac93e291 Support tether errors in Android 11 preview 2020-05-28 00:18:10 -04:00
Mygod
746afb69a5 Add missing tether errors in Android 10 2020-05-27 09:37:31 -04:00
Mygod
1197400ad0 Let PausingDispatcher handle cancellation 2020-05-24 04:45:50 +08:00
Mygod
faf0b2c179 v2.9.1 2020-05-23 09:20:47 +08:00
Mygod
731a654ed4 Reset group using best effort 2020-05-23 09:01:01 +08:00
Mygod
a55a2a8886 Fix a crash caused by race 2020-05-23 08:55:14 +08:00
Mygod
5a7ecb3245 Add BLUETOOTH_PRIVILEGED permission
Required for reading bluetooth tethering state since May, 2020 security patch.

Related: https://android-review.googlesource.com/c/platform/packages/apps/Bluetooth/+/1253150
2020-05-23 08:36:48 +08:00
Mygod
05ae75e2bf v2.9.0 2020-04-23 04:44:26 +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
2b3f0fed4d Refine params 2020-04-21 05:24:16 +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
3cee5a4782 Migrate to open source firebase-crashlytics 2020-01-24 22:22:48 +08:00
Mygod
006e4e47c0 Update dependencies 2020-01-20 10:05:01 +08:00
Mygod
164dc7fe9f Bump to foreground service unconditionally on Q 2019-10-24 12:47:27 +08:00
Mygod
dafee90ae5 Remove unnecessary ContextCompat call 2019-10-24 12:20:00 +08:00
Mygod
e790e513e1 Declare location permission used by foreground properly
Fix #132.
2019-10-24 12:15:36 +08:00
Mygod
56a2c8bb4b Remove redundant enabled 2019-09-19 11:57:25 +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
a72075ef2e Update dependencies 2019-08-12 09:08:11 +08:00
Mygod
3bd81b942f Fix editing Repeater config 2019-07-17 17:14:27 +08:00
Mygod
9a69c4006e Add shortcut for tether offload
Fix #41.
2019-07-11 11:09:47 +08:00
Mygod
f629efc4f0 Remember activity for monitor 2019-07-05 01:40:03 +08:00
Mygod
e560572a61 Update doc for Android Q 2019-06-10 22:03:55 +08:00
Mygod
0cb28477e4 Android Q beta 4 support 2019-06-10 21:34:37 +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
267e5b0e9c Merge branch 'v2.4' into q-beta 2019-05-10 12:48:41 +08:00
Mygod
cb589560f7 Disable tethering QS tiles if receiver does not work
Also fixes a memory leak.
2019-05-10 11:27:34 +08:00
Mygod
b139b30ce6 Merge branch 'master' into v2.4 2019-04-28 14:42:46 +08:00
Mygod
3f802fa3de Fix build 2019-04-28 14:38:28 +08:00
Mygod
b82ed72555 Merge branch 'v2.4' into q-beta 2019-04-28 14:34:53 +08:00
Mygod
7d2a3e42ea Merge branch 'master' into v2.4 2019-04-28 14:05:52 +08:00