Commit Graph

79 Commits

Author SHA1 Message Date
Mygod
d17cd0bab3 Correctly handle callSuper for Proxy 2020-05-31 07:40:25 +08:00
Mygod
e8fb62a0b3 Move MAC utils to MacAddressCompat 2020-05-30 02:39:33 -04:00
Mygod
df1ef04d18 Migrate to coroutines instead of Handler 2020-05-29 01:38:02 -04:00
Mygod
2298f7858f Prevent DialogFragment.show crash 2020-01-23 09:29:51 +08:00
Mygod
006e4e47c0 Update dependencies 2020-01-20 10:05:01 +08:00
Mygod
e9e9fa2bb8 Code clean up 2019-12-10 19:59:31 +08:00
Mygod
1709ffd8ff Fix Wi-Fi QR code with non-ISO chars 2019-12-09 21:57:11 +08:00
Mygod
95ddd5c2d5 2nd attempt to fix double unregistering receivers 2019-09-19 11:33:50 +08:00
Mygod
4aece2204a Revert "Ensure receiver unregistered synchronously in onDestroy"
This reverts commit e55aa17399.
2019-08-19 23:49:09 +08:00
Mygod
9ad7d25501 Fix trimming memory from main 2019-08-12 13:18:46 +08:00
Mygod
a1a0649e17 v2.5.3 2019-08-02 13:52:18 +08:00
Mygod
e55aa17399 Ensure receiver unregistered synchronously in onDestroy 2019-07-31 10:03:27 +08:00
Mygod
b4121b7d66 Add tether timeout monitor for Android 9+ 2019-07-18 19:08:34 +08:00
Mygod
f61f694d5f Prevent initiailizing su in main thread
This should hopefully fix #113.
2019-07-16 10:23:21 +08:00
Mygod
0cb28477e4 Android Q beta 4 support 2019-06-10 21:34:37 +08:00
Mygod
b82ed72555 Merge branch 'v2.4' into q-beta 2019-04-28 14:34:53 +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
b70abd6ffb Merge branch 'v2.4' into q-beta 2019-04-14 13:06:12 +08:00
Mygod
484e868f1a Merge branch 'master' into v2.4 2019-04-14 10:27:46 +08:00
Mygod
f034abfa07 Deprecate MainScope 2019-04-14 10:26:30 +08:00
Mygod
6b951519fe Merge branch 'v3' into q-beta 2019-04-04 19:37:27 +08:00
Mygod
6225367e42 Support sharing via QR code
Another popular format is barcode but unfortunately I cannot seem to find documentations of that anywhere. Feel free to send me.
2019-04-04 19:17:31 +08:00
Mygod
411f98c36f Copy/paste for Wi-Fi configurations 2019-04-04 18:06:18 +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
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
005b5189f4 Handle API changes 2019-03-20 11:53:08 +08:00
Mygod
3a7a400ee8 Update parseNumericAddress on Android Q 2019-03-20 11:53:08 +08:00
Mygod
7b48dd30e4 Fix a build version 2019-03-15 23:31:47 +08:00
Mygod
aedba90196 Lift double routing detection out of Routing 2019-03-09 01:46:01 -05:00
Mygod
fe2e0ef4c8 Remove execOutUnjoined 2019-03-09 00:26:41 -05: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
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
1dd8a9dcb6 Remove unused method 2019-02-01 20:14:33 +08:00
Mygod
a71a3b3bb0 Make DHCP workaround global 2019-02-01 16:55:38 +08:00
Mygod
73d29cba20 Revert "Refrain from using reflection to parse numerical address"
This reverts commit 72851d4417.

See also: https://issuetracker.google.com/issues/123456213
2019-01-27 16:07:38 +08:00
Mygod
4918dfc856 Suppress links for bogon IPs
ipinfo.io does not tell a lot of information about bogon IP addresses, so let us just not show any links at all.
2019-01-26 21:57:58 +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
72851d4417 Refrain from using reflection to parse numerical address 2019-01-26 01:35:59 +08:00
Mygod
074252ad1c Deprecate thread helper 2019-01-26 01:34:41 +08:00
Mygod
0da1943a68 Refine RootSession.Transaction.iptables 2019-01-24 21:15:44 +08:00
Mygod
e6943c69dd Try both p2p_supplicant.conf paths for Project Treble 2019-01-06 01:10:40 +08:00
Mygod
0374b93a64 Allow waiting in updating records 2019-01-06 00:58:30 +08:00
Mygod
719e8245a7 Mute more SocketException 2019-01-03 23:55:29 +08:00
Mygod
36b0284573 Improve quick settings tiles reliability
Android apparently can decide to kill TileService when there are too many. Therefore, let's check if our service is connected before doing anything.

Source: https://android.googlesource.com/platform/frameworks/base/+/e1d13c9/packages/SystemUI/src/com/android/systemui/qs/external/TileServices.java#52
2018-12-25 12:17:43 +08:00
Mygod
f26716051c Allow iptables -w to output busy spin message 2018-12-14 02:00:31 +08:00
Mygod
e85d792218 Refine IpNeighbour parsing 2018-10-04 16:34:40 +08:00