Commit Graph

185 Commits

Author SHA1 Message Date
Mygod
3572ce2713 Merge branch 'master' into s 2021-07-10 19:26:22 -04:00
Mygod
3f18c7f47d Check for channel nullability 2021-07-10 19:16:11 -04:00
Mygod
ffb7ec1017 Fix missing import 2021-06-05 14:47:32 +08:00
Mygod
dfcc860adb Fix repeater stuck when Location is off on Android 11+ 2021-06-05 14:42:45 +08:00
Mygod
02e7f06e61 Remove unnecessary try-catch 2021-06-04 02:06:06 -04:00
Mygod
880843c8cb Fix repeater stuck when Location is off on Android 11+ 2021-06-04 02:00:14 -04:00
Mygod
652875af20 Stop using BAND_ANY 2021-05-31 01:12:32 -04:00
Mygod
ed4475ebb1 Support for multi-band SACC 2021-05-29 14:58:46 -04:00
Mygod
f75ac30804 Fix lint again 2021-05-28 21:20:51 -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
b6bdf8cfb7 Use reflection instead of parcel magic to get around networkName check 2021-05-27 12:22:47 -04:00
Mygod
4eb16709ca Refine code 2020-12-17 12:00:59 -05:00
Mygod
c64ce77939 Fix index out of range 2020-12-17 11:41:50 -05:00
Mygod
73929f08e9 Prevent crash if SECURITY_PATCH cannot be recognized 2020-11-04 07:58:33 +08:00
Mygod
1029728f22 Refine code style 2020-08-18 05:43:30 +08:00
Mygod
35055bc074 Fix deprecations 2020-08-18 05:02:09 +08:00
Mygod
d2db4d24bf Fix null pointer exception 2020-08-09 00:57:18 +08:00
Mygod
ba80e922b8 Refine code style 2020-08-04 03:07:04 +08:00
Mygod
4675b1d9d3 Reduce error reporting 2020-07-28 04:22:23 +08:00
Mygod
46658a269d Set operatingBand even if unused 2020-07-28 03:52:05 +08:00
Mygod
fa409c8fe4 Prevent crash on some vendors 2020-07-22 11:11:00 -04:00
Mygod
1ef2718d8c Respect system thisDevice 2020-07-07 04:54:26 +08:00
Mygod
4c4510d811 Reset both band and channel 2020-07-07 03:31:52 +08:00
Mygod
05c4ba5b81 Fix crashes 2020-07-03 10:55:21 +08:00
Mygod
fbb1483969 Refine code style 2020-07-03 02:36:28 +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
59337cfcf0 Only setOperatingChannel when necessary 2020-07-02 07:19:11 +08:00
Mygod
e2ad182556 Bump lastMac key version to flush old values 2020-07-02 07:10:37 +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
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
8f8ede2c8c Fix more crashes 2020-06-26 08:19:40 +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
d00d7983d1 Fix crash on deviceAddress being empty 2020-06-15 04:46:19 +08:00
Mygod
3c012cf948 Update ACTION_WIFI_P2P_PERSISTENT_GROUPS_CHANGED 2020-06-14 08:15:21 +08:00
Mygod
bf79573b27 Misc BSSID fixes 2020-06-14 07:56:08 +08:00
Mygod
8afa63a20e Merge branch 'master' into r 2020-06-12 13:19:59 +08:00
Mygod
4d3e05ac6b Add stopped check in Routing 2020-06-12 01:16:57 -04:00
Mygod
b20e3ab4a7 Fix lint and incorrect lifecycle owner 2020-06-11 04:57:47 +08: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
e8fb62a0b3 Move MAC utils to MacAddressCompat 2020-05-30 02:39:33 -04:00
Mygod
44df94dae2 Fix Handler constructor deprecation 2020-05-29 12:15:36 +08:00
Mygod
89a02bde69 Target R 2020-05-29 06:34:20 +08:00
Mygod
c827474dce Fix hasP2pValidateName warning 2020-04-23 05:20:02 +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
Mygod
4461c1fd58 Update beta dependencies 2020-04-20 03:56:27 +08:00