Commit Graph

75 Commits

Author SHA1 Message Date
Mygod
a7bcb21d96 Update dependencies 2023-02-18 11:35:07 -05:00
Mygod
03fa9f593f Check for unsupported tethering types 2023-02-17 01:24:52 -05:00
Mygod
15c3c5a6d7 Bump to minapi 28 2023-02-08 21:37:16 -05:00
Mygod
acc4b1eb47 Properly support NCM tethering type on Pixel 6+
Fixes #413.
2022-12-15 18:39:53 -05:00
Mygod
a87fc28081 Fix lint 2022-12-04 12:59:23 -05:00
Mygod
adbc0b981a Check service is not null 2022-09-24 19:46:52 -04:00
Mygod
28b1a1a0fc Suppress more DeadObjectException 2022-09-24 19:21:29 -04:00
Mygod
de3226e27a Refine code style 2021-11-26 22:56:38 -05:00
Mygod
1426d4e3a3 Remove WiGig from UI due to being only internally used 2021-10-06 01:54:43 -04:00
Mygod
00b869397d Fix Kotlin stupid bug (KT-47881) 2021-07-25 01:26:30 -04:00
Mygod
1d6fe3def1 Make InvocationHandler more robust 2021-07-25 00:27:50 -04:00
Mygod
0c36bcbade Prevent Binder stub swallowing Exceptions 2021-07-24 23:29:50 -04:00
Mygod
bb80359efb Refactor LOHService based on AOSP CarProjectionService 2021-06-11 02:20:55 -04:00
Mygod
d2f8de24b4 Fix lint 2021-05-27 13:59:17 -04:00
Mygod
87a1b8b08d Refine code style 2021-05-27 13:33:26 -04:00
Mygod
0ac5b25f85 Migrate from using deprecated getLastTetherError 2021-05-26 16:30:11 -04:00
Mygod
cd2fdba3cd Refine code style 2021-05-05 19:25:10 -04:00
Mygod
791e41fb74 Use ExecutorCompat 2021-03-14 20:42:20 -04:00
Mygod
c276642161 Suppress more CancellationException 2020-10-02 07:05:20 +08:00
Mygod
7f793e0760 Prefer in process tethering module
To be consistent with AOSP.
2020-08-14 11:02:14 -04:00
Mygod
27e93b2a78 Suppport in-process tethering module 2020-08-10 23:01:05 +08:00
Mygod
a23b519a53 Revert "Suppress not registered error for now"
This reverts commit f7ed0c2387.
2020-07-17 05:57:25 +08:00
Mygod
f7ed0c2387 Suppress not registered error for now
See also: b/160765229
2020-07-11 06:39:58 +08:00
Mygod
78f32cde3c Revert "Use the same cacheDir to reuse cache"
This reverts commit d2f9f592a5.

Fixes error like: Optimized data directory <dir> is not owned by the current user. Shared storage cannot protect your application from code injection attacks.
2020-07-09 12:16:09 -04:00
Mygod
8674369b5b Refine TetheringEventCallback 2020-07-09 07:34:16 +08:00
Mygod
e27d4c4068 Handle TETHER_ERROR_NO_CHANGE_TETHERING_PERMISSION correctly 2020-07-09 02:32:35 +08:00
Mygod
d2f9f592a5 Use the same cacheDir to reuse cache 2020-07-07 06:45:52 +08:00
Mygod
05c4ba5b81 Fix crashes 2020-07-03 10:55:21 +08:00
Mygod
4f97f9bf74 Implement ConstantLookup 2020-07-03 08:11:37 +08:00
Mygod
798275e9c9 Initial support for registerSoftApCallback 2020-07-03 07:38:51 +08:00
Mygod
71e0ab6ed1 Support reading default shut down timeout mills from wifi resources apex 2020-07-02 08:26:07 +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
e114bb306a Fix race in ofInterface 2020-06-23 07:57:34 +08: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
0430e76143 Fix doc 2020-06-16 09:34:29 +08:00
Mygod
b20e3ab4a7 Fix lint and incorrect lifecycle owner 2020-06-11 04:57:47 +08:00
Mygod
b9994bda9e Deprecate usage of BuildCompat 2020-06-11 03:17:42 +08:00
Mygod
e3da408e27 Remove address from startTethering for now 2020-05-31 15:42:00 -04:00
Mygod
9e820e888f Use invoke operators 2020-05-30 21:01:22 -04:00
Mygod
f094b0361b Update private API documentation 2020-05-30 20:11:21 -04:00
Mygod
d17cd0bab3 Correctly handle callSuper for Proxy 2020-05-31 07:40:25 +08:00
Mygod
3327242c2e Fix args can be null 2020-05-31 02:57:20 +08:00
Mygod
069b32a7d9 Correctly handle TetherType changing 2020-05-29 21:20:53 -04:00
Mygod
35b7404d87 Suppress WrongConstant for TETHERING_SERVICE 2020-05-29 02:10:27 -04: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
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
d56905603d Prevent depending on blacklisted API 2020-05-28 12:39:51 -04:00