Commit Graph

1243 Commits

Author SHA1 Message Date
Mygod
2cce339063 Suppress CancellationException 2020-07-12 07:10:40 +08:00
Mygod
6e16f2c434 Ignore errors when trying to kill wpa_supplicant 2020-07-11 06:43:45 +08:00
Mygod
f7ed0c2387 Suppress not registered error for now
See also: b/160765229
2020-07-11 06:39:58 +08:00
Mygod
339871f4b0 Use /system/bin/ip and ifindex for lookup 2020-07-11 06:29:20 +08:00
Mygod
e227353134 Use Os.if_indextoname 2020-07-11 03:00:09 +08:00
Mygod
6e571eccaf Revert "Use SHELL environment"
This reverts commit 293140f64e.
2020-07-10 04:45:55 +08:00
Mygod
14beddd0dd Sync debug value to Logger 2020-07-10 04:33: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
df4acae7d0 Add missing isAdd argument 2020-07-08 11:54:25 -04:00
Mygod
07df004ecf Add back relocating appProcess
Fixes #170.

Fixes
2020-07-08 23:22:50 +08:00
Mygod
95ff4bc91c Communicate bad messages to main process 2020-07-07 07:58:35 +08:00
Mygod
05fead2431 Skip patching LD_LIBRARY_PATH for Android 7+ 2020-07-07 07:55:12 +08:00
Mygod
b7d01333fd Fix missing quantity strings 2020-07-07 06:59:06 +08:00
Mygod
d2f9f592a5 Use the same cacheDir to reuse cache 2020-07-07 06:45:52 +08:00
Mygod
90f49b3159 Throw CancellationException directly, without wrapping in RemoteException 2020-07-07 06:28:45 +08:00
Mygod
a1b076cee9 Check bluetooth supported before registering pan 2020-07-07 05:02:36 +08:00
Mygod
1ef2718d8c Respect system thisDevice 2020-07-07 04:54:26 +08:00
Mygod
82dc01ab37 Suppress SecurityException on Android 8-10 2020-07-07 04:20:24 +08:00
Mygod
293140f64e Use SHELL environment 2020-07-07 04:00:07 +08:00
Mygod
2047e02ec7 Refine shouldSuppressIpError 2020-07-07 03:35:11 +08:00
Mygod
4c4510d811 Reset both band and channel 2020-07-07 03:31:52 +08:00
Mygod
86c147538a Fix missing bandOption 2020-07-07 03:29:11 +08:00
Mygod
029a1527a7 Handle errors in WifiLegacy 2020-07-07 03:26:50 +08:00
Mygod
513e01d747 Log errors from su 2020-07-07 03:24:18 +08:00
Mygod
2e0b0140ef Add FT-PSK as WPA
Thanks Xiaomi!
2020-07-07 03:20:37 +08:00
Mygod
eb5a8e6d0f v2.10.4 2020-07-04 07:52:27 +08:00
Mygod
562a9f26f1 Support cancelling RootCommand 2020-07-04 07:48:56 +08:00
Mygod
255b4698b9 Import translations 2020-07-04 07:14:01 +08:00
Mygod
278f3f143b Implement client limiting and MAC address filtering 2020-07-04 05:43:24 +08:00
Mygod
46d0544df2 Localize strings 2020-07-04 04:34:58 +08:00
Mygod
b3f259ddcb Use executor more intelligently 2020-07-03 15:31:35 -04:00
Mygod
921af588da Select first option by default 2020-07-03 14:50:49 -04:00
Mygod
a27460b58a Support TetherTimeoutMonitor.setEnabled properly 2020-07-03 13:00:43 +08:00
Mygod
04cad4ded1 Refine code style 2020-07-03 12:38:33 +08:00
Mygod
05c4ba5b81 Fix crashes 2020-07-03 10:55:21 +08:00
Mygod
4b1101f41e Suppress useless logcat 2020-07-03 09:12:12 +08:00
Mygod
76f142c31a Output no features available if appropriate 2020-07-03 09:09:39 +08:00
Mygod
1ad1ee0861 Show channel as well as width 2020-07-03 09:01:02 +08:00
Mygod
00767d2fd6 Add more information to Wi-Fi hotspot display 2020-07-03 08:47:33 +08:00
Mygod
4f97f9bf74 Implement ConstantLookup 2020-07-03 08:11:37 +08:00
Mygod
9231681b45 Rename error to text 2020-07-03 07:57:45 +08:00
Mygod
69750f6609 Allow ordinary execute to be cancelled 2020-07-03 07:56:35 +08:00
Mygod
798275e9c9 Initial support for registerSoftApCallback 2020-07-03 07:38:51 +08:00
Mygod
fbb1483969 Refine code style 2020-07-03 02:36:28 +08:00
Mygod
b86653156b Fix error handling in onTetheringFailed 2020-07-02 09:40:19 +08:00
Mygod
6b0978bdf3 Make repeater timeout configurable 2020-07-02 09:37:17 +08:00
Mygod
67e1530492 Allow any channel when in p2p safe mode 2020-07-02 09:24:25 +08:00
Mygod
0b02e7565e Make timeout configurable
ContentObserver is deprecated for this feature.

Additionally repeater supports auto shutdown in older API levels as well, while temporary hotspot only auto shutdown in API 28-29 for now.
2020-07-02 09:17:16 +08:00