Commit Graph

64 Commits

Author SHA1 Message Date
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
f91d36f49b Refine b9292b8be4 2019-03-12 14:09:21 +08:00
Mygod
b9292b8be4 Treat both possible ownerAddresses equally
Fix #81.
2019-03-09 01:12:44 -05:00
Mygod
d8a6ba43ae Fix support for unrecognized psk line 2019-03-09 00:58:08 -05:00
Mygod
664913a2ff Prevent crash caused by wakelock released by other people 2019-02-22 13:36:10 +08:00
Mygod
6d6418b8e0 Migrate to kotlinx findView 2019-02-06 00:00:29 +08:00
Mygod
89a4e9f071 Simplify WifiDoubleLock invocations 2019-02-05 17:42:49 +08:00
Mygod
8b283b13b2 Dear Smartisan, don't 2019-02-01 22:10:31 +08:00
Mygod
0de9b55e23 Check wpa_supplicant on Android 5.x correctly 2019-02-01 21:28:43 +08:00
Mygod
13e4819511 Fix Parcelable 2019-02-01 15:18:49 +08:00
Mygod
0da1943a68 Refine RootSession.Transaction.iptables 2019-01-24 21:15:44 +08:00
Mygod
0aa77ef82d Use AppCompatDialogFragment 2019-01-23 15:23:26 +08:00
Mygod
ab89e9391a Enhanced AlertDialogFragment 2019-01-23 15:02:15 +08:00
Mygod
a936b4e058 Allow usage of legacy Wi-Fi switch in-app only on 7.1 2019-01-23 12:10:56 +08:00
Mygod
1048fa830a Remove legacy Wi-Fi switch for Android 7.1
Fixes #64.
2019-01-22 23:38:56 +08:00
Mygod
6a8dbd7775 Add default p2p group if nothing is found
Fixes #61.
2019-01-18 11:26:19 +08:00
Mygod
e6943c69dd Try both p2p_supplicant.conf paths for Project Treble 2019-01-06 01:10:40 +08:00
Mygod
b00791d644 Update dependencies 2019-01-03 23:22:28 +08:00
Mygod
fe33c88047 Improve debug logging mechanisms 2018-12-30 16:03:24 +08:00
Mygod
ddd3bfab2f Reduce garbage logs 2018-12-29 23:14:32 +08:00
Mygod
1ced7566f5 Fix IOException in direct boot 2018-12-29 00:29:56 +08:00
Mygod
0ef55133bb Remove unused field 2018-12-27 12:59:55 +08:00
Mygod
bc0d6de3f9 Log p2p_supplicant if parsing failed 2018-12-27 12:58:09 +08:00
Mygod
479d1bdfca Add documentation for settings 2018-12-26 11:46:58 +08:00
Mygod
ae3aff5132 Do not keep alive by default 2018-12-24 23:22:59 +08:00
Mygod
55443902be Support Wi-Fi keep alives 2018-12-23 23:35:55 +08:00
Mygod
690b923a43 Fix parser forgetting all non-owned groups 2018-12-21 18:03:33 +08:00
Mygod
5281f14e0f Listen for persistent group changes 2018-12-21 16:04:23 +08:00
Mygod
e4e716ab83 Allow creating repeater w/o root 2018-10-08 15:17:48 +08:00
Mygod
395e5da871 Fix InvalidConfigurationError 2018-10-04 15:50:07 +08:00
dwuku
d131d5d46b Make compatible with F-Droid (#42)
* Make compatible with F-Droid
* Fix title bar empty
2018-10-02 23:13:12 +08:00
Mygod
268376a7d5 Use DialogFragments everywhere 2018-09-18 17:09:50 +08:00
Mygod
204145ef4f Move edit configuration logic out of WifiP2pDialogFragment 2018-09-17 23:35:59 +08:00
Mygod
c7faa24be9 Use monospace for password 2018-09-08 17:08:20 +08:00
Mygod
1db6d6e9ad Fix crashes on root missing 2018-09-07 11:35:09 +08:00
Mygod
823ae9633b Migrate from NoisySu to RootSession
Fix #24. Note that just like before, IpMonitor doesn't use RootSession.
2018-09-06 15:39:00 +08:00
Mygod
4ea235b52b Fix p2p_supplicant.conf path on Android 9 2018-09-04 08:15:56 +08:00
Mygod
7a8412407b Use exec whenever possible 2018-08-26 19:24:45 +08:00
Mygod
15d838893c SmartSnackbars 2018-08-08 16:03:30 +08:00
Mygod
b0d2db2d2d Update dependencies 2018-08-08 15:12:48 +08:00
Mygod
6939efed0d Refine styling 2018-07-29 01:42:06 +08:00
Mygod
d38d201212 Revert "Disable editing repeater credentials on Android 5"
This reverts commit df304fe674.

This kind of addresses #31. Apparently we can't predict which wpa_supplicant is bundled into the system by inspecting Android version, especially now that it is put into /vendor/bin/hw (see also Project Treble: https://source.android.com/devices/architecture/vndk/).

It might be cool if someone makes a Magisk module that replaces wpa_supplicant to the latest version.
2018-07-28 23:11:41 +08:00
Mygod
9220f9f113 Refine code style 2018-07-21 19:04:53 +08:00
Mygod
b526de681e Refactor WifiP2pDialog as DialogFragment 2018-07-21 18:26:14 +08:00
Mygod
179675a374 Refine code style 2018-07-21 17:18:21 +08:00
Mygod
df304fe674 Disable editing repeater credentials on Android 5 2018-07-21 14:43:56 +08:00
Mygod
d0e92b2505 Initial draft for porting to AndroidX 2018-07-15 14:28:42 +08:00
Mygod
89cbd96280 Prefer SnackBars 2018-07-14 23:30:05 +08:00
Mygod
d9d5c55ff4 Return empty PSK if unrecognized 2018-07-12 22:08:56 +08:00
Mygod
580b7620c5 Suppress errors 2018-07-12 22:06:32 +08:00