Commit Graph

139 Commits

Author SHA1 Message Date
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
Mygod
6aac712a1b Update dependencies 2019-04-28 14:05:27 +08:00
Mygod
243d103ca7 Refine code style 2019-04-14 13:35:36 +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
45d1c0b18c Fix crash on Android 5 2019-04-07 12:50:36 +08:00
Mygod
f6422432b4 Fix requireActivity failures 2019-04-07 08:00:13 +08:00
Mygod
a1a42f4703 Fix context gone after Bluetooth is on 2019-04-07 07:47:04 +08:00
Mygod
e73d89b5b8 Support showing repeater frequency in Android Q 2019-04-05 10:03:51 +08:00
Mygod
e91abe0738 Support custom repeater SSID without root 2019-04-04 21:10:38 +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