Commit Graph

71 Commits

Author SHA1 Message Date
Mygod
46658a269d Set operatingBand even if unused 2020-07-28 03:52:05 +08:00
Mygod
514aadd6af Suppress CancellationException 2020-07-17 05:56:56 +08:00
Mygod
1ef2718d8c Respect system thisDevice 2020-07-07 04:54:26 +08:00
Mygod
6b0978bdf3 Make repeater timeout configurable 2020-07-02 09:37:17 +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
d462b3ac07 Fix persistent group on Android 11
Also only request persistent group when necessary.
2020-07-02 07:02:24 +08:00
Mygod
d2af382911 Catch NoShellException 2020-06-24 07:07:34 +08:00
Mygod
ad218d7ec6 librootkotlinx
Fixes #14, #27, #114, #117.
2020-06-21 05:33:39 +08:00
Mygod
26104074c4 Fix race 2020-06-16 07:13:00 +08:00
Mygod
84eb0d33f1 Prevent creating duplicate configuration dialog 2020-06-16 06:34:52 +08:00
Mygod
650ff57450 Fix build 2020-06-15 04:26:40 +08:00
Mygod
8fe5cda2ab Handle fallback wifi p2p configuration 2020-06-13 23:09:48 -04:00
Mygod
bf79573b27 Misc BSSID fixes 2020-06-14 07:56:08 +08:00
Mygod
d98333d35e Allow user to skip specifying BSSID 2020-06-14 06:32:10 +08:00
Mygod
33d7105acf Fix unsafe repeater mode for Android 11 2020-06-14 06:15:06 +08:00
Mygod
e3d4ada213 Use unified interface for setting p2p channel 2020-06-05 12:52:50 -04: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
bf352297ec Use new fragment result API 2020-06-01 19:02:56 -04:00
Mygod
21e4700b60 Use RequestPermission contract 2020-06-01 16:59:21 -04:00
Mygod
1197400ad0 Let PausingDispatcher handle cancellation 2020-05-24 04:45:50 +08:00
Mygod
731a654ed4 Reset group using best effort 2020-05-23 09:01:01 +08:00
Mygod
a55a2a8886 Fix a crash caused by race 2020-05-23 08:55:14 +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
006e4e47c0 Update dependencies 2020-01-20 10:05:01 +08:00
Mygod
a72075ef2e Update dependencies 2019-08-12 09:08:11 +08:00
Mygod
3bd81b942f Fix editing Repeater config 2019-07-17 17:14:27 +08:00
Mygod
e560572a61 Update doc for Android Q 2019-06-10 22:03:55 +08:00
Mygod
0cb28477e4 Android Q beta 4 support 2019-06-10 21:34:37 +08:00
Mygod
b70abd6ffb Merge branch 'v2.4' into q-beta 2019-04-14 13:06:12 +08:00
Mygod
45d1c0b18c Fix crash on Android 5 2019-04-07 12:50:36 +08:00
Mygod
e73d89b5b8 Support showing repeater frequency in Android Q 2019-04-05 10:03:51 +08:00
Mygod
e91abe0738 Support custom repeater SSID without root 2019-04-04 21:10:38 +08:00
Mygod
6b951519fe Merge branch 'v3' into q-beta 2019-04-04 19:37:27 +08:00
Mygod
1145b0f23b Support editing native Wi-Fi AP configurations
Support for repeater channel on Android 5 has been dropped because I am lazy.
2019-04-04 18:06:18 +08:00
Mygod
834498b1ff Deprecate reset credentials
Due to persistent groups no longer useful in Android Q, this feature will be removed. Users on older releases can remove remembered groups from Wi-Fi Direct settings manually.
2019-04-04 18:06:18 +08:00
Mygod
da9d647339 Fix WifiP2p permissions 2019-03-20 11:53:08 +08:00
Mygod
2ffe21a9aa LOL 2019-02-17 13:01:15 +08:00
Mygod
50911bd31f Fix #74 2019-02-04 14:23:12 +08:00
Mygod
6a7a16a0c7 Move away KEY_OPERATING_CHANNEL 2019-02-01 16:46:00 +08:00
Mygod
13e4819511 Fix Parcelable 2019-02-01 15:18:49 +08:00
Mygod
d4208affbb Implement MAC lookup (#68)
* Implement MAC lookup

* Refine error processing

* Use long to store MAC consistently

* Link back to macvendors.co

* Undo some havoc

* Do not show mac spans for TV

* Show MAC and IP in a consistent order

* Add IP spans by ipinfo.io

* Add SpanFormatter

* Fix IPv6 ipinfo.io link

* Refine SpanFormatter

* Fix pressing the link
2019-01-26 21:20:40 +08:00
Mygod
ab89e9391a Enhanced AlertDialogFragment 2019-01-23 15:02:15 +08:00
Mygod
719e8245a7 Mute more SocketException 2019-01-03 23:55:29 +08:00
Mygod
b00791d644 Update dependencies 2019-01-03 23:22:28 +08:00
Mygod
7be7af36c9 Handle nullable fragmentManager 2019-01-01 12:46:07 +08:00
Mygod
24c1d810d5 Fix AlertDialogFragment 2019-01-01 12:44:02 +08:00
Mygod
f0a89d5498 Do not request data onDismiss 2018-12-30 17:44:18 +08:00
Mygod
0ef55133bb Remove unused field 2018-12-27 12:59:55 +08:00