Commit Graph
383 Commits
Author SHA1 Message Date
Mygod a755b669c8 Fix code style issues 2018-02-04 15:07:38 -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
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
Mygod 3f88b46353 Retire tablet layout
Google doesn't care for tablets either.
2018-01-27 15:09:07 -08:00
Max Lv c63a659d88 Fix remote DNS 2018-01-24 18:21:32 +08:00
Mygod daea4b5f6c Refine connection tests 2018-01-24 00:14:21 -08:00
Max Lv 8e7ddaebbd Add OpenDNS into the primary list 2018-01-23 23:10:01 -08:00
Max Lv e2c29594f2 Set different timeouts 2018-01-22 19:04:00 -08:00
Mygod ac96e6fc9c Min API 19 -> 21
Fix #1579.
2018-01-18 19:57:30 -08:00
Max Lv 7297a2664c Avoid problematic local DNS resolver 2018-01-16 23:17:00 -08:00
Mygod 195e2afbeb Fix keyboard navigations 2018-01-15 22:24:08 -08:00
Mygod 3dbc5f4147 Import translations from POEditor 2018-01-15 21:32:56 -08:00
Mygod 580ce14809 Refine animations 2018-01-15 21:01:29 -08:00
Mygod d4213e8ee8 Remove checkChineseLocale
This was introduced by commit 396d31a0a7. I just did some further testing and:

* zh_rCN and zh_rTW are the only zh locales you can pick before Android 7;
* Since Android 7, user can use locale list to specify their fallback preferences and there's no need to enforce it.

Therefore this method isn't really necessary and will be thus removed.
2018-01-15 19:58:16 -08:00
Mygod f9b29acd82 Update notification channels on configuration change 2018-01-14 06:22:58 +08:00
Max Lv 4e943bc782 Reduce the DNS timeout 2018-01-12 17:02:22 +08:00
Max Lv 90dd0ab300 Refine local DNS resolver 2018-01-06 15:13:26 +08:00
Syrone Wong 402710841b update China and Telegram ip range 2018-01-05 17:12:04 +08:00
Max Lv 6ded9d3d37 Refine #1556 2018-01-04 17:06:56 -08:00
Max Lv f05761ac4d Refine the animation of snackbar 2018-01-04 19:25:31 +08:00
Mygod a33efea2b5 Add French 2018-01-04 19:03:07 +08:00
Mygod b2e6639901 Remove translatable 2018-01-04 18:23:45 +08:00
Max Lv db74988190 Fix the listview issue 2018-01-03 18:37:36 -08:00
Max Lv 9a43c78e7b Fix #1548 2018-01-03 17:21:46 -08:00
Max Lv a40f87f492 Fix a rounding issue on Android 4.4
We can use setTranslationY directly on Android 4.4. Otherwise, we need
to handle float to int routing issue very carefully.
2017-12-30 15:04:04 +08:00
Max Lv 56f4a36a18 Fix an issue when Accessibility enabled
Actually, it's not necessary to move our fragment upward, which contains
a list view.
2017-12-30 14:45:05 +08:00
Mygod c86b68c0e6 Add missing flush call in CustomRulesFragment 2017-12-29 22:55:08 +08:00
Mygod 56728a3f40 Hide profileName in secure lock screen 2017-12-29 22:43:01 +08:00
Mygod cc070223b4 Add doc for ServiceNotification 2017-12-29 22:32:07 +08:00
Mygod 0335d67dba Add animation for bottom bar during Snackbar transitions
Fix #1036 the one-year-old issue.

There are still some subtle blackness during the exit animation. Unfortunately this is something I am not able to fix as I don't and probably won't ever have enough knowledge about Android's drawing passes. Anyway this still looks much better than before.
2017-12-29 20:58:02 +08:00
Mygod 0d0c2d59de Add android:allowBackup to suppress warning 2017-12-29 18:32:49 +08:00
Mygod e03c34aa19 Refine bottom sheet paddings
Matches design in Google Authenticator app.
2017-12-27 12:28:21 +08:00
Mygod db011afcc0 Fix connected button not rendered correctly 2017-12-27 12:11:32 +08:00
Mygod ebe4d6fd0c Disable swipe to remove in selection mode 2017-12-27 11:47:46 +08:00
Mygod cb9356e5e0 Refine acls 2017-12-27 11:43:17 +08:00