Commit Graph

1391 Commits

Author SHA1 Message Date
Mygod
7dae9a032a Add missing constant 2020-05-29 05:45:12 +08:00
Mygod
fe15009be6 Fix building on incorrect target 2020-05-29 05:38:50 +08:00
Mygod
382291a74e Correctly handle tethering package in mainline module 2020-05-29 05:36:20 +08:00
Mygod
6e848caa87 Always read ethernet regex 2020-05-29 04:48:04 +08:00
Mygod
84dabae3c8 Merge branch 'master' into r 2020-05-29 04:46:09 +08:00
Mygod
29be356e36 Ensure resource is being read from system 2020-05-29 04:32:41 +08:00
Mygod
9edb90d52a Update dependencies 2020-05-29 03:57:50 +08:00
Mygod
547815ffaf Warn when offload is verified to be started 2020-05-28 15:13:45 -04:00
Mygod
4447dfd86e Use TetheringEventCallback when appropriate 2020-05-28 15:08:47 -04:00
Mygod
cd7e55c992 Update README regarding new APIs 2020-05-28 13:47:16 -04:00
Mygod
d56905603d Prevent depending on blacklisted API 2020-05-28 12:39:51 -04:00
Mygod
f4e540e919 Simplify unused onClientsChanged 2020-05-28 12:11:31 -04:00
Mygod
6dac683e70 Log onClientsChanged if it ever gets fired 2020-05-28 02:01:24 -04:00
Mygod
753e09b2d6 Implement (un)registerTetheringEventCallback 2020-05-28 01:43:28 -04:00
Mygod
8dd8fa45ea Move system resources to greylist if possible 2020-05-28 00:48:00 -04:00
Mygod
1ca69cf3a6 Preliminary support for Ethernet and NCM tethering 2020-05-28 00:18:10 -04:00
Mygod
3314f01dc9 Update whitelist APIs according to R preview list 2020-05-28 00:18:10 -04:00
Mygod
d6503ed787 Add APIs to README 2020-05-28 00:18:10 -04:00
Mygod
a08944db27 Simplify code 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
9ff95047a2 Remove obsolete tools:ignore 2020-05-28 00:18:03 -04:00
Mygod
f51ba79571 Add tools:targetApi where appropriate 2020-05-27 23:43:09 -04:00
Mygod
f16d235cab Add icon for deprecated TetherType.WIMAX
Despite this will never be used, it is good to use a separate icon just to be clear.
2020-05-27 21:54:04 -04:00
Mygod
6e2228b220 Adopt official wps icon 2020-05-27 21:51:53 -04:00
Mygod
e953ccc66e Only require BLUETOOTH_PRIVILEGED for higher API 2020-05-27 10:26:16 -04:00
Mygod
746afb69a5 Add missing tether errors in Android 10 2020-05-27 09:37:31 -04:00
Mygod
8ff784ce3d Update EXTRA_ACTIVE_LOCAL_ONLY
Change was implemented since Android R preview 1.
2020-05-27 09:01:10 +08:00
Mygod
ff31830b87 Refine build file 2020-05-27 01:14:51 +08: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
b833d94002 Refine error message 2020-05-23 09:04:58 +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
7374d89f0e Log Android preview codename if available 2020-05-23 08:44:20 +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
6f94e31f51 Ensure rescheduleUpdate is ran on bg thread 2020-05-23 06:13:12 +08:00
Mygod
4336632508 Prevent deadlocks by avoiding calling callbacks in locked blocks 2020-05-23 05:52:32 +08:00
EdwardWu
0cb1e7346e Update New zh-rTW translate (#157)
Co-authored-by: Mygod <contact-github@mygod.be>
2020-05-22 16:32:27 -04:00
Mygod
e0cd4d787d Update dependencies 2020-05-23 04:14:21 +08:00
Mygod
94f03ccd04 Fix #156 2020-04-23 13:44:23 -04:00
Mygod
755253eb36 Allow user to keep data when uninstalling 2020-04-22 18:51:38 -04:00
Mygod
c827474dce Fix hasP2pValidateName warning 2020-04-23 05:20:02 +08:00
Mygod
05ae75e2bf v2.9.0 2020-04-23 04:44:26 +08:00
Mygod
c7a28e2f59 Merge branch 'bluehomewu/patch-1' 2020-04-23 04:38:59 +08:00
Mygod
73a9d624ca Update translations 2020-04-23 04:38:24 +08:00
Mygod
48ca2c1623 Prevent calling callback in synchronized 2020-04-23 04:02:12 +08:00
Mygod
099c6b2a73 Fix OEM bugs on Android 6 2020-04-23 03:50:35 +08:00
Mygod
c04fedb453 Update README 2020-04-22 12:33:35 +08:00