reader: sync/async work
[fanfix.git] / src / be / nikiroo / fanfix / reader / android / AndroidReader.java
index 85f07f25bd6c935e53b9ea17050f41656315761c..7dcdd04565fd4c72b3f381c03623cdc77cd42ec4 100644 (file)
@@ -24,7 +24,7 @@ public class AndroidReader extends BasicReader {
        }
 
        @Override
-       public void read() throws IOException {
+       public void read(boolean sync) throws IOException {
        }
 
        @Override
@@ -32,7 +32,7 @@ public class AndroidReader extends BasicReader {
        }
 
        @Override
-       protected void start(File target, String program) throws IOException {
+       protected void start(File target, String program, boolean sync) throws IOException {
                if (program == null) {
                        try {
                                Intent[] intents = new Intent[] { //
@@ -53,10 +53,10 @@ public class AndroidReader extends BasicReader {
 
                                app.startActivity(chooserIntent);
                        } catch (UnsupportedOperationException e) {
-                               super.start(target, program);
+                               super.start(target, program, sync);
                        }
                } else {
-                       super.start(target, program);
+                       super.start(target, program, sync);
                }
        }
 }