Commit Graph
18 Commits
Author SHA1 Message Date
Mygod b634ef0d82 Name threads for better debugging experience
Also removes an unnecessary thread.
2018-03-30 01:04:42 -07:00
Mygod a755b669c8 Fix code style issues 2018-02-04 15:07:38 -08:00
Mygod d715f7b4c6 Fix another crash 2018-02-04 04:08:46 -08:00
Mygod 3975f3f43c Disconnect as soon as binder died 2018-02-03 22:24:42 -08:00
Mygod 7a49ddc045 Fix #1612 2018-01-28 00:09:01 -08:00
Mygod 3f88b46353 Retire tablet layout
Google doesn't care for tablets either.
2018-01-27 15:09:07 -08:00
Mygod daea4b5f6c Refine connection tests 2018-01-24 00:14:21 -08:00
Mygod 582a6e441b Revert "Donwload fonts through support library. #1515"
This reverts commit 6c89207eff.
2017-12-23 09:20:19 +08:00
Max Lv 6c89207eff Donwload fonts through support library. #1515 2017-12-22 00:29:31 -08:00
Mygod ef519a8581 Clean up ServiceButton related code 2017-12-19 17:31:15 -08:00
Mygod 540b1d3710 Add some sweet animation to replace old circular progress 2017-12-19 17:01:11 -08:00
Mygod 157a750e53 Remove the unmaintained fab progress circle 2017-12-19 15:24:39 -08:00
Mygod 1bea09c5c6 Remove unnecessary call to linkToDeath 2017-12-17 01:36:20 -08:00
Mygod 11dd7112c3 Implement plugin entirely in Kotlin 2017-12-16 16:07:01 -08:00
Mygod d7a11eaa3b Implement direct boot awareness
To do direct boot, important files need to be moved to device storage (i.e. not as safe storage). The only thing sensitive is user credentials (server settings in each profile) and the config file passed to libss-*.so. In order to implement direct boot, at least the active profile has to be moved/copied to device storage.

This commit keeps profile information (and temporary data used by ProfileConfigFragment) and Shadowsocks config in credential storage and move everything else to device storage. In order to make direct boot work, active profile is also copied into device storage and Shadowsocks config file is created in device storage during direct boot. Cleanup of those information is also implemented.

Fixes #1457.

NB:

* `android:directBootAware` can't be used on application element. That seems to be used by system apps.
* Works fine with multi-user;
* Old GSM files are not migrated (see App.kt) to device storage.
2017-12-15 15:36:19 -08:00
Mygod d5c1455a00 Replace Toast.position with TooltipCompat 2017-12-06 23:57:17 -08:00
Mygod 9fd86fe8b8 Fix #1487 2017-12-06 23:38:41 -08:00
Mygod 3e8b254118 Initial draft for porting this project to Gradle + Kotlin
This is one of my stupidest idea ever.
2017-12-03 10:20:57 -08:00