Commit Graph

33 Commits

Author SHA1 Message Date
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
Mygod
2488a528a3 Update dependencies 2018-06-23 18:59:31 +08:00
Mygod
09690f19c8 Fix crashes on stupid devices 2018-06-13 15:51:10 +08:00
Mygod
e2cbe18ea9 Add more logging 2018-06-10 20:59:50 +08:00
Mygod
3959db61d0 Refine code style 2018-05-09 18:17:47 -07:00
Mygod
90c1951645 Move Utils.kt 2018-05-09 15:57:41 -07:00
Mygod
1695295eb3 Fix UTF-8 encoding in SSID 2018-05-03 20:56:31 -07:00
Mygod
2fe7703d6d Temporary Wi-Fi hotspot for bypassing tethering limits (#18)
* First draft of temporary hotspot
* Refactor with LocalOnlyInterfaceManager
* Refactor LocalOnlyHotspotService
* Localize
* Update strict summary
2018-05-02 17:53:06 -07:00
Mygod
0a47cfdf1c Fix hex PSK not terminating 2018-05-02 01:40:02 -07:00
Mygod
a9c40c8ff7 Handle multiple groups and other formats of psk
This should address #17.
2018-05-02 01:30:29 -07:00
Mygod
39cd40627f Redesign WifiP2pDialog using design lib 2018-04-24 22:49:05 -07:00
Mygod
2b2639e288 Refine code style 2018-04-21 23:49:10 -07:00
Mygod
cb3bdff0f2 Fix killall not available on lower versions 2018-04-21 21:30:20 -07:00
Mygod
2d3e8556fd Refine code style 2018-04-21 20:34:14 -07:00
Mygod
570998b255 Add support for modifying repeater credentials
Credits go to @fxsheep: https://forum.xda-developers.com/showpost.php?p=76298728&postcount=5

Currently it only works on later versions of Android due to usage of `killall`. A workaround is in progress.
2018-04-21 20:18:15 -07:00