add constructor to construct with reader and not only file - needed for URL imort later

This commit is contained in:
ligi 2013-01-23 15:50:51 +01:00
parent 60546a7bd7
commit eb11da53c7
1 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,12 @@ public class OpmlImportWorker extends
}
}
public OpmlImportWorker(Context context, Reader reader) {
super();
this.context = context;
this.mReader=reader;
}
@Override
protected ArrayList<OpmlElement> doInBackground(Void... params) {
if (AppConfig.DEBUG)