diff options
author | lado <herrlado@gmail.com> | 2011-10-26 13:04:05 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2011-10-26 13:04:05 +0200 |
commit | 7306c40dc2ae372fa916993f976c918b6e7dcfb4 (patch) | |
tree | 9d46586b8cd8e9ff3d8c0f2e597324c51302e190 /vdrmanager/src/de/bjusystems | |
parent | 391e1a7d83ac28efbb79b997fd577eff16cb6d29 (diff) | |
download | vdr-manager-7306c40dc2ae372fa916993f976c918b6e7dcfb4.tar.gz vdr-manager-7306c40dc2ae372fa916993f976c918b6e7dcfb4.tar.bz2 |
refactor
Diffstat (limited to 'vdrmanager/src/de/bjusystems')
-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; } |