diff options
Diffstat (limited to 'vdrmanager')
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/tasks/AsyncProgressTask.java | 7 |
1 files changed, 4 insertions, 3 deletions
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<Result> { - class AsyncProgress extends SvdrpProgressDialog implements SvdrpAsyncListener<Result> { + class AsyncProgress extends SvdrpProgressDialog<Result> implements SvdrpAsyncListener<Result> { public AsyncProgress(final Activity activity, final SvdrpClient<Result> 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; } |