summaryrefslogtreecommitdiff
path: root/src/de/podfetcher/activity/AddFeedActivity.java
diff options
context:
space:
mode:
authorDaniel Oeh <daniel@danielpc.(none)>2012-05-30 20:27:33 +0200
committerDaniel Oeh <daniel@danielpc.(none)>2012-05-30 20:27:33 +0200
commit7944ea0ba4c820f7be5a0be71256fbb5ed05e24c (patch)
treefbc9bfc31389f926444b8b16659826d607859d83 /src/de/podfetcher/activity/AddFeedActivity.java
parentfcf8881f8ff813b171fbf7d68891affa24201b61 (diff)
downloadAntennaPod-7944ea0ba4c820f7be5a0be71256fbb5ed05e24c.zip
Updated DownloadObserver to observe several Downloads
Diffstat (limited to 'src/de/podfetcher/activity/AddFeedActivity.java')
-rw-r--r--src/de/podfetcher/activity/AddFeedActivity.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/de/podfetcher/activity/AddFeedActivity.java b/src/de/podfetcher/activity/AddFeedActivity.java
index c699f66c0..65202f2a4 100644
--- a/src/de/podfetcher/activity/AddFeedActivity.java
+++ b/src/de/podfetcher/activity/AddFeedActivity.java
@@ -74,11 +74,12 @@ public class AddFeedActivity extends SherlockActivity {
dialog.dismiss();
finish();
}
+
@Override
- protected void onProgressUpdate(Integer... values) {
- Integer progr = values[0];
- dialog.setMessage(getContext().getString(getStatusMsg())
- + " (" + progr.toString() + "%)");
+ protected void onProgressUpdate(DownloadObserver.DownloadStatus... values) {
+ DownloadObserver.DownloadStatus progr = values[0];
+ dialog.setMessage(getContext().getString(progr.getStatusMsg())
+ + " (" + progr.getProgressPercent() + "%)");
}
};
dialog.show();