Commit Graph

173 Commits

Author SHA1 Message Date
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
Mygod
cf2beb8aac Update dependencies 2020-04-20 03:17:41 +08:00
Mygod
3cee5a4782 Migrate to open source firebase-crashlytics 2020-01-24 22:22:48 +08:00
Mygod
f063cab2f3 Accomodate Samsung's fancy p2p group 2019-11-06 09:10:21 +08:00
Mygod
4689c9a975 Fix wifi lock not released when monitoring 2019-11-06 08:35:41 +08:00
Mygod
164dc7fe9f Bump to foreground service unconditionally on Q 2019-10-24 12:47:27 +08:00
Mygod
e790e513e1 Declare location permission used by foreground properly
Fix #132.
2019-10-24 12:15:36 +08:00
Mygod
95ddd5c2d5 2nd attempt to fix double unregistering receivers 2019-09-19 11:33:50 +08:00
Mygod
b1976403cc Correctly handle null p2p group 2019-08-20 10:20:47 +08:00
Mygod
4aece2204a Revert "Ensure receiver unregistered synchronously in onDestroy"
This reverts commit e55aa17399.
2019-08-19 23:49:09 +08:00
Mygod
470c8468f9 Fix a Q beta bug
See issue tracker: https://issuetracker.google.com/issues/137569574
2019-08-12 13:35:28 +08:00
Mygod
7142fa7378 Fix lint check 2019-08-02 14:05:59 +08:00
Mygod
9fb7fd25c1 requestGroupInfo in main thread 2019-08-01 12:57:08 +08:00