Commit Graph

95 Commits

Author SHA1 Message Date
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
bb41536eb1 Update to Android Q beta 2 APIs 2019-04-04 11:31:27 +08:00
Mygod
400d4e67a3 Merge branch 'master' into q-beta 2019-04-04 11:09:47 +08:00
Mygod
f97afdf8ae Prevent recreating monitor MenuItem 2019-04-03 16:32:55 +08:00
Mygod
10a2b777f2 New icon for temp hotspot 2019-04-03 15:56:54 +08:00
Mygod
673ff9800a Refine code style 2019-03-20 12:21:22 +08:00
Mygod
da9d647339 Fix WifiP2p permissions 2019-03-20 11:53:08 +08:00
Mygod
f75b522d82 Fix temp hotspot on Android Q beta 2019-03-20 11:53:08 +08:00
Mygod
e81e66b84f Handle permission issues in BluetoothTethering 2019-03-19 10:14:55 +08:00
Mygod
16688ebe7d Fix missing unregister 2019-03-18 22:03:20 +08:00
Mygod
e112b10c55 Add Bluetooth on/off into consideration when using Bluetooth tethering 2019-03-18 19:02:50 +08:00
Mygod
621b6eac74 Prevent callback not recycled 2019-03-18 18:37:51 +08:00
Mygod
549381050b Do not prompt error onTetheringFailed 2019-03-18 17:37:35 +08:00
Mygod
317e2121c2 Refine error messages in general 2019-02-23 23:00:14 +08:00
Mygod
5954029a7c Catch more exceptions for startActivity 2019-02-22 12:10:22 +08:00
Mygod
2ffe21a9aa LOL 2019-02-17 13:01:15 +08:00
Mygod
0be1116121 Refine code style 2019-02-17 12:51:20 +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
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
94114f7a4b Migrate to LiveData
Benefit includes: no more flush after changing nickname. Yep.
2019-01-26 14:48:27 +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
8b7b0b0b3e Fix flashing icons 2019-01-06 01:43:19 +08:00
Mygod
ea9145c2bd Mute SocketException 2019-01-06 00:47:53 +08:00
Mygod
d3d066e037 Mute InvocationTargetException on 7.0 as well 2019-01-06 00:29:27 +08:00
Mygod
719e8245a7 Mute more SocketException 2019-01-03 23:55:29 +08:00
Mygod
615e7256d0 Mute Android 7.1 bug 2019-01-03 23:50:47 +08:00
Mygod
b00791d644 Update dependencies 2019-01-03 23:22:28 +08:00
Mygod
32c5973cdc Fix possible race condition caused crash 2019-01-03 17:00:31 +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
5abd3661c3 Log less 2018-12-30 17:57:53 +08:00
Mygod
f0a89d5498 Do not request data onDismiss 2018-12-30 17:44:18 +08:00
Mygod
d26c4587f2 Reduce log levels 2018-12-30 16:55:06 +08:00
Mygod
fe33c88047 Improve debug logging mechanisms 2018-12-30 16:03:24 +08:00
Mygod
5fc67d4249 Refine code style 2018-12-29 01:38:50 +08:00
Mygod
7eec6f7a06 Add starting state to temp hotspot 2018-12-28 14:42:45 +08:00
Mygod
0ef55133bb Remove unused field 2018-12-27 12:59:55 +08:00
Mygod
71011847c4 Remove tracking SocketException
This could happen normally after repeater is shutdown and the interface was also torn down by the system.
2018-12-26 00:29:57 +08:00
Mygod
2b982dd349 Do not store redundant copy of bluetooth adapter 2018-12-25 16:26:18 +08:00
Mygod
ec08802fbd Refine code style 2018-12-25 13:02:53 +08:00
Mygod
b2534eb2c0 Do not update tile state when unsure 2018-12-25 12:57:25 +08:00