Commit Graph

164 Commits

Author SHA1 Message Date
Mygod
26104074c4 Fix race 2020-06-16 07:13:00 +08:00
Mygod
84eb0d33f1 Prevent creating duplicate configuration dialog 2020-06-16 06:34:52 +08:00
Mygod
650ff57450 Fix build 2020-06-15 04:26:40 +08:00
Mygod
8fe5cda2ab Handle fallback wifi p2p configuration 2020-06-13 23:09:48 -04:00
Mygod
bf79573b27 Misc BSSID fixes 2020-06-14 07:56:08 +08:00
Mygod
d98333d35e Allow user to skip specifying BSSID 2020-06-14 06:32:10 +08:00
Mygod
33d7105acf Fix unsafe repeater mode for Android 11 2020-06-14 06:15:06 +08:00
Mygod
b656b71577 Handle bluetooth error message correctly 2020-06-11 06:30:27 +08:00
Mygod
b9994bda9e Deprecate usage of BuildCompat 2020-06-11 03:17:42 +08:00
Mygod
e3d4ada213 Use unified interface for setting p2p channel 2020-06-05 12:52:50 -04:00
Mygod
e6e2362a79 Add ability to specify device address for wifi p2p 2020-06-05 12:52:50 -04: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
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