Commit Graph

99 Commits

Author SHA1 Message Date
Mygod
b7b4298fb4 Catch remote exceptions while setting wifi config 2019-06-01 07:48:26 +08:00
Mygod
cb589560f7 Disable tethering QS tiles if receiver does not work
Also fixes a memory leak.
2019-05-10 11:27:34 +08:00
Mygod
b139b30ce6 Merge branch 'master' into v2.4 2019-04-28 14:42:46 +08:00
Mygod
3f802fa3de Fix build 2019-04-28 14:38:28 +08:00
Mygod
7d2a3e42ea Merge branch 'master' into v2.4 2019-04-28 14:05:52 +08:00
Mygod
6aac712a1b Update dependencies 2019-04-28 14:05:27 +08:00
Mygod
243d103ca7 Refine code style 2019-04-14 13:35:36 +08:00
Mygod
484e868f1a Merge branch 'master' into v2.4 2019-04-14 10:27:46 +08:00
Mygod
45d1c0b18c Fix crash on Android 5 2019-04-07 12:50:36 +08:00
Mygod
f6422432b4 Fix requireActivity failures 2019-04-07 08:00:13 +08:00
Mygod
a1a42f4703 Fix context gone after Bluetooth is on 2019-04-07 07:47:04 +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
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
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