Commit Graph

138 Commits

Author SHA1 Message Date
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
Mygod
e55aa17399 Ensure receiver unregistered synchronously in onDestroy 2019-07-31 10:03:27 +08:00
Mygod
1f2ccf83b0 Fix dispatcher not closed 2019-07-31 08:53:45 +08:00
Mygod
20d0abf4b9 Fix missing luanch 2019-07-25 01:10:36 +08:00
Mygod
f16d34efc1 Allow enabling Wi-Fi for Wi-Fi direct 2019-07-21 01:00:29 +08:00
Mygod
0ab3ccf8d5 Various bugfixes 2019-07-20 16:15:26 +08:00
Mygod
b4121b7d66 Add tether timeout monitor for Android 9+ 2019-07-18 19:08:34 +08:00
Mygod
96fbb7ddf9 Fix temp hotspot 2019-07-17 17:31:45 +08:00
Mygod
f79e20fe11 v2.5.0 2019-07-16 10:35:19 +08:00
Mygod
f61f694d5f Prevent initiailizing su in main thread
This should hopefully fix #113.
2019-07-16 10:23:21 +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
8bfbe8ce53 Refine code style 2019-04-14 13:36:59 +08:00
Mygod
219d868089 Handle new nullability issues 2019-04-14 13:00:55 +08:00
Mygod
722a8e616e Add missing import removed by merge 2019-04-05 12:15:21 +08:00
Mygod
e02febd7ca Merge branch 'v2.4' into q-beta 2019-04-05 12:11:34 +08:00
Mygod
b940d2ad5f Merge branch 'master' into v2.4 2019-04-05 12:02:10 +08:00
Mygod
c922a94453 Remove fixed debug 2019-04-05 11:21:43 +08:00
Mygod
3f0d1407be Add missing deprecation 2019-04-05 11:19:12 +08:00
Mygod
ddd9ae1470 Remove redundant unregister 2019-04-05 10:29:45 +08:00
Mygod
bb4bf783f2 Prevent calling private API to set channel on Q 2019-04-05 10:12:37 +08:00
Mygod
e73d89b5b8 Support showing repeater frequency in Android Q 2019-04-05 10:03:51 +08:00
Mygod
11d5b77861 Handle deprecation changes 2019-04-05 09:49:25 +08:00
Mygod
e799fcf9ff Prevent tempering with persistent groups in Android Q
This seems to cause improper persistent group deletions, but either way, I cannot seem to find where persistent groups are persisted now on Android Q.
2019-04-05 09:42:50 +08:00
Mygod
617a2dda95 Change networkName without resorting to blacklisted API 2019-04-05 09:25:11 +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
673ff9800a Refine code style 2019-03-20 12:21:22 +08:00
Mygod
005b5189f4 Handle API changes 2019-03-20 11:53:08 +08:00
Mygod
f1cf44c628 Improve error logs on Android Q beta 2019-03-18 21:58:30 +08:00
Mygod
cbc65f989c Support monitoring tethered interface
This would be useful to be used in together with Instant Tethering + Turn off hotspot automatically.

Refine #26, #53.
2019-02-06 01:27:21 +08:00
Mygod
89a4e9f071 Simplify WifiDoubleLock invocations 2019-02-05 17:42:49 +08:00
Mygod
8132b2766d Remove fallback DNS 2019-02-04 23:30:29 +08:00
Mygod
43bb8af522 Wtf more debug 2019-02-01 21:49:09 +08:00