Mygod
07eb4d2a5c
Refine utils.Key for readability
2016-07-05 19:31:58 +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
432ab6cc7a
Fix the bug where UI is not updated after importing
2016-07-04 10:38:49 +08:00
Max Lv
6d78b496ec
Fix a typo
2016-07-03 18:35:29 +08:00
Max Lv
df09d39139
Add apply-all action
2016-07-03 17:27:50 +08:00
Mygod
b4d3103b8f
Merge branch 'n' and update to API level 24
...
Fix #671 .
2016-06-17 13:24:56 +08:00
Mygod
07798c7e56
Fix imported per-app proxy settings not updating UI
2016-06-05 12:06:27 +08:00
Mygod
28ea9dd807
Use app.* instead of ShadowsocksApplication.*
...
Because typing ShadowsocksApplication is quite troublesome.
2016-05-24 11:37:33 +08:00
Mygod
c695847403
Remove package object
2016-05-24 11:23:46 +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
Mygod
8453267996
New UI polishment
...
* Refine exceptions handling when parsing per-app config string
* Remove redundant profiles Preference
* Move Network Traffic to title bar
* Add ripple to title text
* Animate using animateLayoutChanges
* Hide connection test in NAT mode
2016-04-03 09:33:14 -07:00
Max Lv
da8e41d7bb
Handle exceptions when parsing per-app config string
2016-03-30 17:46:05 +08:00
Mygod
6dede5c067
Import/export one/all ss urls
2016-03-12 15:11:11 +08:00
Mygod
ef162cd47e
Reload apps if a change is detected
2015-12-26 19:21:03 +08:00
Mygod
569f056a22
Reduce battery usage - register broadcast at runtime
2015-12-26 18:56:12 +08:00
Mygod
10ebf88484
Merge branch 'master' of shadowsocks/shadowsocks-android
2015-12-15 19:50:02 +08:00
Max Lv
e82c7ccb99
Refine #478
2015-12-15 18:25:24 +08:00
Max Lv
88b875370e
Fix #478
2015-12-15 17:37:06 +08:00
Mygod
de768f7979
Hide apps that doesn't require INTERNET permission
2015-12-08 22:19:02 +08:00
Mygod
4312e1676d
Fix label
2015-12-06 21:38:48 +08:00
Mygod
3f93ad079b
Sort packages with case ignored
2015-12-06 21:34:50 +08:00
Mygod
ad831aa1f4
Persist package names in individual/proxied
2015-12-06 21:20:30 +08:00
Mygod
93084f0ed0
Ask for ROOT only when it's needed
2015-12-06 20:04:41 +08:00
Mygod
c6a7560bae
Cache proxied apps for even better performance
2015-12-05 22:07:25 +08:00
Mygod
348c7b6bd1
Fix menu button in AppManager
2015-12-05 20:53:43 +08:00
Mygod
37d05236be
Improve performance when fetching app list
2015-12-05 20:41:55 +08:00
Mygod
63bc4a57f7
Refine layout for AppManager
2015-11-09 20:54:34 +08:00
Mygod
b05adbdd43
Remove redundant Global Proxy
2015-11-09 20:32:22 +08:00
Mygod
58c16704a1
No more restarting AppManager after importing
2015-11-09 18:44:12 +08:00
Mygod
d71c8dce2e
This commit seems to be able to speed up AppManager on second launch noticeably.
...
P.S. Android 6.0, 200+ apps installed.
2015-11-09 09:47:38 +08:00
Mygod
d70480a850
Remove ProgressDialog in AppManager
2015-11-09 09:32:00 +08:00
Mygod
cdb9ebe56e
Fix menu in AppManager
2015-11-09 09:00:08 +08:00
Mygod
51e155c940
Add more material design (3)
2015-11-09 01:58:36 +08:00
Mygod
4906ce8af5
Support switching to NAT/VPN without restarting the app
2015-11-08 18:46:42 +08:00
Mygod
46fd69db5a
Change checkboxes to switches to match system settings
2015-11-08 00:42:01 +08:00
Mygod
d4ec43e526
Add more material design (1)
2015-11-07 12:32:22 +08:00
Mygod
d111bc8282
Using SAM
2015-10-04 15:13:16 +08:00
Mygod
3605e18db2
Update dependencies
2015-10-04 13:43:08 +08:00
Max Lv
9041404f42
add partial material design
2015-04-30 16:44:27 +08:00
Mygod
0d54d9cd9b
bugfix
2015-02-24 22:52:57 +08:00
Mygod
8611a66cdc
fix indent
2015-02-24 22:38:37 +08:00
Mygod
740dcc3ca9
providing up navigation
2015-02-24 22:34:14 +08:00
Max Lv
2f553b156a
fix #188
2014-12-18 14:33:32 +08:00
Max Lv
afd91b7155
fix #186
2014-12-15 17:19:40 +08:00
Max Lv
3dba966355
fix two potential FCs
2014-12-01 14:04:21 +08:00
Max Lv
97dd8fa15e
fix #132
2014-11-30 10:18:27 +08:00
Max Lv
5f95cccce4
implement per-app VPN for Android 5.0
2014-10-19 18:23:27 +08:00
Max Lv
4a4d3b11fb
refine handler
2014-09-07 11:44:06 +08:00
Max Lv
3538caa80d
update styles
2014-09-07 11:00:12 +08:00
Max Lv
ae30c218e9
drop support of Android 2.3
2014-09-07 10:06:22 +08:00