Commit Graph
534 Commits
Author SHA1 Message Date
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
Max Lv 6558f275fe Refine #577 2016-02-26 08:54:53 +08:00
chentao c13cf6f5d2 Fix a issue in ProcessUtils 2016-02-26 08:45:43 +08:00
chentao fc3d26d626 Fix binder ipc issue when process died unexpected 2016-02-25 00:04:57 +08:00
chentao 1bb3a6bf5d Add ShadowsocksDeathRecipient 2016-02-25 00:00:33 +08:00
chentao f6cab9b99c Add IOUtils 2016-02-24 23:58:57 +08:00
chentao a24d29196f Add ProcessUtils 2016-02-24 23:57:38 +08:00
Max Lv ef7701982d Fix #577 2016-02-22 08:59:57 +08:00
chentao b76d089fb2 Avoid MatchError 2016-02-17 11:30:58 +08:00
chentao 2f4cdbce25 Replace Future.onFailure with Future.onComplete 2016-02-16 10:05:43 +08:00
Mygod d794632616 Refine undo 2016-02-11 21:09:50 +08:00
Mygod 06deb4bbcb Add option: bypass China only
Fix #569.

It could have worked without upgrading database by using an option called `bypass-china-only`. But I think we will get better readability this way.
2016-02-08 15:44:10 +08:00
Mygod 3556eebfeb Tasker: scroll to selected profile 2016-02-08 15:06:53 +08:00
Mygod 10e3b211e3 Ask user to refrain from further using NAT mode 2016-02-08 14:40:49 +08:00
Mygod cd5c2ef8ef Fix rate display disappearing in StatusPreference
It turns out that `onCreateView` gets called every time `setSummary` is invoked, and thus restoring texts for `TextView` is mandatory.
2016-02-08 13:47:30 +08:00
Mygod 5a84854881 Refine layout using GridView 2016-02-08 12:53:21 +08:00
Mygod 0cf1585712 Refine traffic stat layout 2016-02-07 18:41:50 +08:00
Mygod c7dd9aeeca Replace placeholder with brand new icon 2016-02-07 02:00:15 +08:00
Max Lv 65635c6b93 Avoid service restarted by system 2016-02-02 09:52:36 +08:00
Max Lv 187cb28d15 Fix an issue of NAT mode
If call notify() after startForeground() on the same notification id, the
service becomes not that "foreground" and would be killed by system if the
activity is removed from the recent list.
2016-01-30 14:01:46 +08:00
Max Lv 2840a75c92 Fix an issue that stat_path is null 2016-01-30 11:00:25 +08:00
Max Lv 95e214ef11 Fix a typo 2016-01-25 20:31:12 +08:00
Max Lv 217ed797d9 Output VPN error to logcat #556 2016-01-25 20:28:11 +08:00
Max Lv d337f0e2e4 Bump version 2016-01-24 17:21:03 +08:00
Max Lv 713ff53030 Refine Traffic Stat 2016-01-24 16:11:18 +08:00
Max Lv 35f17f5338 Fix #547 2016-01-21 12:23:02 +08:00
Max Lv 172c0b240f Fix #545 2016-01-20 16:49:08 +08:00
wyzegob 7f937a8ee6 修正正在连接时点击返回,重新打开app界面不刷新的问题。
修正正在连接时点击返回,重新打开app界面不刷新的问题。对比了一下ShadowsocksVpnService.scala中的代码。
2016-01-13 12:28:37 +08:00
Max Lv 8f10e95329 Refine #530 2016-01-13 09:54:52 +08:00
Max Lv b620a2e666 Fix #530 2016-01-12 12:18:52 +08:00
Max Lv 9cf8c4c483 Drop the broken support of autostart below Lolipop
Close #525
2016-01-11 10:26:22 +08:00
Max Lv bfbbb90ac3 Fix #523 2016-01-08 19:56:29 +08:00
Max Lv dc840fd0e9 Fix #517 2016-01-06 15:28:44 +08:00
Max Lv 79d1ccba23 Workaround for the crash caused by ProgressCircle
It's safe to ignore the exception throwed by hide().
Because the init state of the ProgressCircle is hidden.
2016-01-05 17:28:38 +08:00
Mygod f9667d767e Fix dynamic traffic stat in profile selector
Fix #495
2015-12-29 20:27:30 +08:00
Max Lv 7d44e4fc9f Catch NameNotFoundException 2015-12-27 16:48:46 +08:00
Max Lv 92b9c52944 Merge branch 'master' of github.com:shadowsocks/shadowsocks-android 2015-12-27 16:33:55 +08:00
Mygod bf135107d8 Fix individual and userOrder not updated when upgrading from <12 2015-12-27 10:26:00 +08:00
Mygod 5a3d2c07bc Merge branch 'master' of https://github.com/shadowsocks/shadowsocks-android 2015-12-27 10:22:57 +08:00
Mygod d8ab3733dc Fix getCallbackCount is not available on API 16 2015-12-27 10:22:43 +08:00
Mygod b6fc013a06 Unregister preference change callback in onDestroy instead of onPause
Fix #496
2015-12-27 10:17:07 +08:00
Max Lv 7d01ca81c8 Fix #496 2015-12-27 10:08:23 +08:00