Mygod
7922be5653
Fix signatures are being deprecated
2018-03-08 23:50:49 -08:00
Mygod
a134cba08a
Merge branch 'master' into beta
2018-03-08 23:44:44 -08:00
Mygod
f63842f773
Fix signature checks in ResolvedPlugin
2018-03-08 23:44:29 -08:00
Mygod
da2490b1b8
Use ContextCompat.getSystemService
2018-03-08 23:31:29 -08:00
Mygod
3a8f863bd1
Implement network capabilities reporting
...
This commit should fix the problem where VPN connection is viewed as metered connections on Android P DP1. However as I only have an emulator to test, I can't tell if it really works but it should.
An interesting observation is that the developer can call setUnderlyingNetworks(arrayOfNulls(1)) to make the VPN connection always unmetered. This is more of a quick hack instead of a real fix. Source: https://android.googlesource.com/platform/frameworks/base/+/adbf1d0/services/core/java/com/android/server/connectivity/Vpn.java#312
One may ask whether it's possible to fix this issue for Android 8.1. The short answer is not that I know of.
After some intensive source code reading, I found out that this is the commit that "breaks" whether VPN is metered for Android 8.1: https://android.googlesource.com/platform/frameworks/base/+/43d2a1700b6eb1d804924c6a1e5e0161a13a5348%5E%21/
The key is that isActiveNetworkMetered() used to return getActiveNetworkInfo().isMetered() and now it uses the more up-to-date API getActiveNetwork(). However, getActiveNetworkInfo() ignores VPN connections while getActiveNetwork() prefers VPN connection. And since NetworkCapabilities for VPN Network is always metered by default, this ultimately causes the bug. One might be able to get around this bug by somehow calling NetworkAgent.sendNetworkCapabilities in the correct context.
Fix #1666 .
2018-03-08 22:47:58 -08:00
Mygod
8a273ab762
Update to Android P DP1
2018-03-08 22:45:23 -08:00
Mygod
f218282e28
Use require* in support library
2018-03-08 22:34:58 -08:00
Mygod
6d866633bf
Update dependencies
2018-03-08 19:41:21 -08:00
Max Lv
550f06cf2a
Bump version
v4.5.1
2018-03-06 02:01:46 -08:00
Max Lv
cad258da6e
Fix the building error
2018-03-01 21:51:49 -08:00
Mygod
71cd80a634
Fix #1609
2018-02-28 13:56:06 -08:00
Max Lv
f0e5681052
Bump version
v4.5.0
2018-02-25 19:38:04 +08:00
Max Lv
d10a406584
Refine overture memory usage
2018-02-25 11:23:10 +08:00
Max Lv
a99a07f586
Update overture
2018-02-24 20:32:45 +08:00
Mygod
39a0a61da2
Allow using TileService in direct boot mode
2018-02-22 11:56:26 -08:00
Mygod
cf118a1bbf
Remove unnecessary crossfader dependency
2018-02-17 20:39:24 -08:00
Mygod
510098911e
Fix domain name display in TileService
2018-02-17 20:35:09 -08:00
Mygod
201bb4fe58
Remove unnecessary tint in TileService
2018-02-17 14:13:08 -08:00
Mygod
026d1ecb2b
Fix receiver leaking
2018-02-15 15:34:56 -08:00
Mygod
7461d3bf30
Fix listenForPackageChanges for upgrades again
2018-02-14 00:18:49 -08:00
Mygod
4483765b2d
Fix listenForPackageChanges
2018-02-14 00:00:15 -08:00
Mygod
62375a576c
Enable multi-dex for debug builds
...
This is not a big deal thanks to min API = 21 and instant run already uses multi-dex anyways.
2018-02-11 03:07:24 -08:00
Mygod
4904e9c06c
Update dependencies
2018-02-11 02:31:44 -08:00
Mygod
f75b54699a
Use Google mobile vision API to scan QR codes as well
...
Interestingly even though multiple QR code isn't enabled, if there are two QR codes in the picture they will all get scanned.
2018-02-11 02:26:23 -08:00
Mygod
22ffcc53bb
Refine QR code decoding
2018-02-11 01:55:14 -08:00
Max Lv
b69c20d086
Use mobile vision APIs for QR code from files
2018-02-10 03:46:47 -08:00
Max Lv
c71c6ffe02
Fix a crash in QuickToggle
2018-02-05 16:58:45 -08:00
Max Lv
439d56d1d7
Remove the return value in traffic IPC
2018-02-05 01:38:45 -08:00
Mygod
81f35acf20
Let Zxing try harder
2018-02-05 00:11:50 -08:00
Mygod
a755b669c8
Fix code style issues
2018-02-04 15:07:38 -08:00
Mygod
9fb180956f
Add detekt.yml
2018-02-04 13:38:53 -08:00
Mygod
39530a1a3b
Fix a crash if you're trying to do weird thing
2018-02-04 05:41:06 -08:00
Mygod
b91d9474d5
Support importing from file
...
Now scanning QR codes on camera-less devices actually do sth.
2018-02-04 05:35:03 -08:00
Mygod
f0140c0070
Add back scanner shortcut
2018-02-04 04:45:51 -08:00
Mygod
d23be09cb0
Add snackbars everywhere
2018-02-04 04:29:54 -08:00
Mygod
4a97ff1d30
Makes less noise while stopping service
2018-02-04 04:14:39 -08:00
Mygod
88fc092aa2
Get rid of postDelayeds
...
FASTER!
2018-02-04 04:12:17 -08:00
Mygod
d715f7b4c6
Fix another crash
2018-02-04 04:08:46 -08:00
Mygod
7cc3c48240
Fix translucent style
2018-02-04 04:08:34 -08:00
Mygod
26fb0e5e3c
Prevent ANR for TFO
2018-02-04 03:35:10 -08:00
Mygod
f4d0835e00
Refine error message
2018-02-04 03:16:01 -08:00
Mygod
ebcf514323
Handle errors in acl dialog more gracefully
2018-02-04 03:08:01 -08:00
Mygod
3975f3f43c
Disconnect as soon as binder died
2018-02-03 22:24:42 -08:00
Mygod
be79e6f80c
Suppress crash if platform does not support jobs
...
This is apparently an issue for some HTC devices.
2018-02-03 21:07:48 -08:00
Mygod
61edb40dd1
Remove unnecessary APIs
2018-02-03 21:03:59 -08:00
Mygod
0046ed87d5
Fix a crash on Android 6.0
2018-02-03 20:56:55 -08:00
initrider
4f44d119ee
Update translation of FAQ ( #1626 )
...
* Create faq.ru-RU.md
* Update faq.ru-RU.md
* Translate - FAQ - Russian
* Rename .github/faq.ru-RU.md to .github/faq.ru.md
* Fixed translation mistakes + Fix #1565
* Update faq.ru.md
* Visual improvement
* Add #888
* Add #1589 and retranslate a bit of info
* Removed unnecessary word
2018-02-02 11:31:58 -08:00
Mygod
1e5aabf824
Add #888 to FAQ
2018-01-30 20:33:13 -08:00
Mygod
7a49ddc045
Fix #1612
2018-01-28 00:09:01 -08:00
Mygod
5ced42125c
Implement ActionMode for CustomRulesFragment
2018-01-27 15:25:29 -08:00