Commit Graph
41 Commits
Author SHA1 Message Date
Mygod 2a47362195 Fix profile name not updated in ShadowsocksTileService 2016-09-15 00:11:37 +08:00
Mygod b6bfd5bfa0 Fix navigations in ProfileManagerActivity 2016-08-17 12:37:32 +08:00
Mygod b14ff7082d Remove camera requirement 2016-07-13 11:38:23 +08:00
Mygod c480137dec Remove .aidl.Config and persisting SharedPreferences (#742)
Previously a profile can exist in the following forms:

* `.database.Profile` used for everything backend;
* `.ShadowsocksSettings` which uses Preferences to provide UI to tweak settings;
* `.aidl.Config` used for IPC;
* `<data dir>/shared_pref/com.github.shadowsocks_preferences.xml` which exists for no apparent reason.

Thus long code block can be seen whose purpose is simply converting the data from one form to another. This commit intends to remove the latter two by:

1. Using profile ID and take advantage of fs r/w lock SQLite uses for IPC and better extensibility;
2. Stop persisting redundant fields in the preferences file and update database directly.
2016-07-05 01:07:09 -05:00
Mygod 333ff40621 Fix #737 by using support vector drawables 2016-07-01 12:42:26 +08:00
Max Lv a537a7fc0a Integrate a Barcode Scanner 2016-06-27 15:54:22 +08:00
Mygod 9be24d7408 Use SharedPreference.Editor.apply instead of commit 2016-05-24 11:39:43 +08:00
Mygod 28ea9dd807 Use app.* instead of ShadowsocksApplication.*
Because typing ShadowsocksApplication is quite troublesome.
2016-05-24 11:37:33 +08:00
Mygod 2c2e5790f5 Fix typo: deattach => detach
I can't believe I've been so blind.
2016-05-05 20:04:03 +08:00
Mygod ee7ff7d5dd Use close button in ProfileManagerActivity
Because putting down arrow and back arrow together doesn't make sense.
2016-04-25 13:03:16 +08:00
Mygod 202bd2c984 Add support for Android TV
This commit adds an app banner in Android TV and introduces several changes including refactoring AppManager to make all features accessible with D-pad navigation.

Currently this app has the exact same user interface on Android TV as on normal Android devices but one should create a TV-specific user interface in the future.

P.S. Only tested in Android emulator. More testing might be needed.
2016-04-16 06:38:01 -07:00
Lucas Liu 29c5011ce4 Refine UI. 2016-04-02 02:12:54 -05:00
Mygod e2a3184715 Refine #614 #615 2016-03-29 10:21:17 +08:00
Lucas Liu 8a86176ded Handle share intent in ProfileManagerActivity 2016-03-18 17:44:58 +08:00
Lucas Liu 49a3cfdc34 NFC state check 2016-03-16 23:30:52 +08:00
Mygod 555f4f6854 Refine #609 2016-03-16 22:31:07 +08:00
Lucas Liu 7f2f67f27c Fix crash when cancel qrcode scan. 2016-03-16 13:22:53 +08:00
Lucas Liu 488d825637 Add share profile by NFC. 2016-03-16 12:47:10 +08:00
Mygod 6dede5c067 Import/export one/all ss urls 2016-03-12 15:11:11 +08:00
Mygod fb3f7429b7 Refine parser 2016-03-12 14:39:00 +08:00
Mygod 0e0e65c45d Move profileTip to Key 2016-03-12 14:20:18 +08:00
Mygod d794632616 Refine undo 2016-02-11 21:09:50 +08:00
Mygod 3556eebfeb Tasker: scroll to selected profile 2016-02-08 15:06:53 +08:00
Mygod f9667d767e Fix dynamic traffic stat in profile selector
Fix #495
2015-12-29 20:27:30 +08:00
Mygod 4d7bf8d707 Reduce battery usage - Unregister callbacks onStop 2015-12-26 23:46:18 +08:00
Mygod c4583bea22 Add a friendly dialog 2015-12-25 22:33:31 +08:00
Mygod 164becfed0 Implement dragging to move profiles 2015-12-25 15:51:18 +08:00
Mygod 7e5b44d36f Scroll to selected profile 2015-12-25 14:20:13 +08:00
Mygod e5ce8fd0a6 Refine Tasker features 2015-12-02 00:31:18 +08:00
Mygod c969aed4da Refine layout 2015-11-30 20:54:00 +08:00
Mygod b11280479b Fix recycling in ProfileManagerActivity 2015-11-30 09:45:31 +08:00
Mygod da3690d18c Fix #441 2015-11-23 21:21:47 +08:00
Mygod ffdde981fb Fix realtime traffic in profile selector 2015-11-23 20:06:11 +08:00
Mygod 407ba8beaa Add realtime traffic in profiles selector 2015-11-21 16:04:55 +08:00
Mygod 81587b0551 Use AlertDialogs in support lib 2015-11-19 14:33:10 +08:00
Mygod 9adf11713f Hide stats for profiles that have no traffic 2015-11-18 23:23:36 +08:00
Mygod 509a4e79fc Add network traffic display in profile selector 2015-11-18 23:06:25 +08:00
Mygod 14414c644d Copy feature settings from the current profile to the new profile.
And fix #432.
2015-11-18 21:40:33 +08:00
Mygod 6f6cb461ed Fix ParserActivity 2015-11-10 21:02:42 +08:00
Mygod 42c5a01d3e Fix default configuration 2015-11-10 20:25:10 +08:00
Mygod 51e155c940 Add more material design (3) 2015-11-09 01:58:36 +08:00