Commit Graph

178 Commits

Author SHA1 Message Date
Mygod
4c5265f0c2 Fix frequency calculations 2020-07-02 08:39:42 +08:00
Mygod
d462b3ac07 Fix persistent group on Android 11
Also only request persistent group when necessary.
2020-07-02 07:02:24 +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
d2af382911 Catch NoShellException 2020-06-24 07:07:34 +08:00
Mygod
659c1a34e0 Make BluetoothPan accessible 2020-06-24 06:56:17 +08:00
Mygod
debbf7a4ce Only return valid entries in light mode 2020-06-22 10:05:12 +08:00
Mygod
75f85216fa Revert "Lazily start IpNeighbourMonitor in qs tiles"
This reverts commit 490f6c5115.
2020-06-21 00:05:32 -04:00
Mygod
490f6c5115 Lazily start IpNeighbourMonitor in qs tiles 2020-06-20 23:43:20 -04:00
Mygod
2ebe0e4962 Refine code style 2020-06-21 06:06:06 +08:00
Mygod
ad218d7ec6 librootkotlinx
Fixes #14, #27, #114, #117.
2020-06-21 05:33:39 +08:00
Mygod
7b1f610f9a Add device count to other tiles too 2020-06-16 10:22:57 +08:00
Mygod
6ae4207e32 Support showing connected device in repeater tile 2020-06-16 09:51:50 +08:00
Mygod
0430e76143 Fix doc 2020-06-16 09:34:29 +08:00
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