Commit Graph

1360 Commits

Author SHA1 Message Date
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
0dfe78ffbd Update README 2020-07-04 05:46:44 +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
5e5016b059 Add new APIs used into README 2020-07-03 15:41:12 -04: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
Mygod
4c5265f0c2 Fix frequency calculations 2020-07-02 08:39:42 +08:00
Mygod
71e0ab6ed1 Support reading default shut down timeout mills from wifi resources apex 2020-07-02 08:26:07 +08:00
Mygod
59337cfcf0 Only setOperatingChannel when necessary 2020-07-02 07:19:11 +08:00
Mygod
ba68728ac0 Fix order 2020-07-02 07:13:14 +08:00
Mygod
e2ad182556 Bump lastMac key version to flush old values 2020-07-02 07:10:37 +08:00
Mygod
2d5c198abb Refine trim memory level 2020-07-02 07:09:36 +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
a5adff4b65 Discard if some regexs are missing 2020-07-02 06:27:34 +08:00
Mygod
febf7f1c61 Fix requestPersistentGroupInfo and deletePersistentGroup permissions 2020-07-02 04:10:09 +08:00
Mygod
600a99cd13 Split SetChannel command 2020-07-01 14:08:00 -04: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
a76145c8dc Finish implementation of SoftApConfigurationCompat 2020-07-01 13:02:49 -04:00
Mygod
34b99a0a9d Fix ap band selection 2020-07-01 23:58:17 +08:00
Mygod
0f547e6750 Refine permission handling 2020-07-01 23:58:17 +08:00