diff options
author | lado <herrlado@gmail.com> | 2011-11-06 23:43:51 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2011-11-06 23:43:51 +0100 |
commit | 2a6d9eecc53461abc4d6313995640cb9c6384c0a (patch) | |
tree | 6d2ab92a4ccee93079a39214662613829f774e0f /vdrmanager/src/de | |
parent | 6c5214ab7b3be338ee4679334a54e4ad3e00bcff (diff) | |
download | vdr-manager-2a6d9eecc53461abc4d6313995640cb9c6384c0a.tar.gz vdr-manager-2a6d9eecc53461abc4d6313995640cb9c6384c0a.tar.bz2 |
better abort handling
Diffstat (limited to 'vdrmanager/src/de')
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/utils/svdrp/SvdrpClient.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/utils/svdrp/SvdrpClient.java b/vdrmanager/src/de/bjusystems/vdrmanager/utils/svdrp/SvdrpClient.java index 9553fd5..58b64f2 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/utils/svdrp/SvdrpClient.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/utils/svdrp/SvdrpClient.java @@ -177,7 +177,11 @@ public abstract class SvdrpClient<Result> { informListener(SvdrpEvent.CONNECTED, null); } catch (final Exception e) { Log.w(TAG, e); - informListener(SvdrpEvent.CONNECT_ERROR, null); + if(abort){ + informListener(SvdrpEvent.ABORTED, null); + } else { + informListener(SvdrpEvent.CONNECT_ERROR, null); + } return false; } |