From 7306c40dc2ae372fa916993f976c918b6e7dcfb4 Mon Sep 17 00:00:00 2001 From: lado Date: Wed, 26 Oct 2011 13:04:05 +0200 Subject: refactor --- .../src/de/bjusystems/vdrmanager/tasks/AsyncProgressTask.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'vdrmanager/src/de/bjusystems') diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/tasks/AsyncProgressTask.java b/vdrmanager/src/de/bjusystems/vdrmanager/tasks/AsyncProgressTask.java index 2b80499..daf7d73 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/tasks/AsyncProgressTask.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/tasks/AsyncProgressTask.java @@ -9,17 +9,18 @@ import de.bjusystems.vdrmanager.utils.svdrp.SvdrpEvent; public abstract class AsyncProgressTask { - class AsyncProgress extends SvdrpProgressDialog implements SvdrpAsyncListener { + class AsyncProgress extends SvdrpProgressDialog implements SvdrpAsyncListener { public AsyncProgress(final Activity activity, final SvdrpClient client) { super(activity, client); } - public void svdrpEvent(final SvdrpEvent event, final Object result) { - svdrpEvent(event); + public void svdrpEvent(final SvdrpEvent event, final Result result) { + super.svdrpEvent(event, result); switch (event) { case FINISHED_ABNORMALY: case FINISHED_SUCCESS: + case ABORTED: AsyncProgressTask.this.finished(); break; } -- cgit v1.2.3