Commit Graph
575 Commits
Author SHA1 Message Date
Mygod 5966c9d874 Quick settings tile for N preview (draft)
Addresses #671 but has NOT fixed it yet.
2016-05-05 21:41:57 +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
Max Lv 70aa867c53 Fix a race condition 2016-05-04 08:58:46 +08:00
Max Lv 5328f5851d Fix #658 2016-04-25 20:24:55 +08:00
Mygod 1ddde094e3 Fix a crash in Parser 2016-04-25 13:12:06 +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 0503eeac41 Refine onServiceDisconnected 2016-04-25 12:53:38 +08:00
Mygod 985b3a6b7d Fix #649 2016-04-19 15:19:09 +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 e05abd7c24 Support one-time authentication in ss urls for sharing (#644)
This commit implements the new ss protocol proposed here: https://github.com/shadowsocks/shadowsocks-org/issues/16
2016-04-14 16:51:36 -07:00
Mygod c8bb8fc929 Fix uncancellable about dialog 2016-04-14 22:45:12 +08:00
Mygod 44a63ef1c4 Add missing "/s" in txRateText and rxRateText 2016-04-14 22:31:08 +08:00
Mygod 7d9686b5b5 UI fixes
* 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

* Refine UI.

* Change notification action button icon for hidpi device

* Fix FAB ripple

* Fix usability problem

* Fix changes not commited when snackbar being swiped

* Show import/export as action

* Drop unused drawables

* Move TaskerSettings

* Fix action icons

* Prevent switching to an invalid profile

* Fix line wrap when screen width is small
2016-04-04 13:41:31 -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
Lucas Liu 29c5011ce4 Refine UI. 2016-04-02 02:12:54 -05:00
Max Lv da8e41d7bb Handle exceptions when parsing per-app config string 2016-03-30 17:46:05 +08: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
Max Lv 17e84e58d8 Refine AdView 2016-03-18 10:03:51 +08:00
Lucas Liu dd4fad1a41 ParserActivity bug fixes. 2016-03-17 00:25:13 +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
Lucas Liu f792c8ebfb Fix parser bug 2016-03-16 01:15:17 +08:00
Max Lv 78e57de833 Refine #602 further 2016-03-13 13:33:36 +08:00
Max Lv 017dd425a0 Refine #602 2016-03-13 13:13:37 +08:00
Mygod 16e39f8b6c Hide quick switch if there's nothing to switch 2016-03-12 15:28:23 +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 ee48c0773c Automatic service restart 2016-03-12 13:40:13 +08:00
Mygod 8fd8514cc2 Refine layout for #598 2016-03-12 11:18:21 +08:00
Mygod 0aad8f13ed Merge branch 'master' of https://github.com/shadowsocks/shadowsocks-android 2016-03-12 11:17:53 +08:00
Max Lv 14a5324852 Merge pull request #598 from AnyOfYou/master
Add quick switch from notification.
2016-03-12 08:00:42 +08:00
Lucas Liu 7c5efdaa82 Add quick switch from notification. 2016-03-12 01:13:03 +08:00
Mygod 0f2ae6521b Oops fix a bug 2016-03-11 22:55:47 +08:00
Mygod 4c1a817c1b Fix a crash on Android N preview 2016-03-11 22:17:06 +08:00
Mygod 390d79c9aa Add missing volatile 2016-03-11 22:05:13 +08:00
Mygod 216cc9efe2 Refine #574 2016-03-11 22:02:52 +08:00
Mygod 3bb746254e Refine #594, again 2016-03-11 21:53:18 +08:00
Mygod 8fa2e60cf3 Remove redundant bindToService
Please do not create methods casually.
2016-03-11 20:41:46 +08:00
Mygod 8657ef87f4 Crash recovery for NAT mode
Bugfix: when NAT process is killed, Internet access is gone. Reproduce with:

    adb shell killall com.github.shadowsocks:nat

One circumstance it cannot recover from is when updating to a new version, where both processes are killed at the same time. But a reset will be executed when the new version is launched.
2016-03-11 20:39:01 +08:00
Mygod da1b404175 Remove redundant IOUtils 2016-03-11 20:19:45 +08:00
Mygod fcdeb5144a Remove ProcessUtils
It's safe to say that Shadowsocks is only instantialized in the main process, so boom, problem solved.
2016-03-11 20:18:22 +08:00
Mygod 270d436017 Refine ShadowsocksDeathRecipient and ServiceBoundContext 2016-03-11 20:17:23 +08:00
Max Lv 9965a71c93 Refine #594 2016-03-07 17:59:15 +08:00
ayanamist cad6d7b62a Recover unexpected process exit on MIUI 2016-03-07 15:48:37 +08:00
Max Lv 76108ec450 Merge pull request #585 from JLLK/master
Fix a issue in ProcessUtils
2016-02-26 14:31:16 +08:00
chentao 5b9a0d0659 Refine #585 2016-02-26 11:48:05 +08:00