summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMartin Fietz <martin.fietz@gmail.com>2018-01-14 18:42:50 +0100
committerMartin Fietz <martin.fietz@gmail.com>2018-01-14 18:42:50 +0100
commit99f01bdc90a54b8c0050e1101ca95eb2fe4e7eb6 (patch)
tree17c6072958f98c594b65cb75dc37b96b99638a5e /core
parente56e3868da4d4440adf6181c5cef0bf1bcf1906e (diff)
downloadAntennaPod-99f01bdc90a54b8c0050e1101ca95eb2fe4e7eb6.zip
Add throws to avoid interface clash
Diffstat (limited to 'core')
-rw-r--r--core/src/main/java/de/danoeh/antennapod/core/util/playback/IPlayer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/util/playback/IPlayer.java b/core/src/main/java/de/danoeh/antennapod/core/util/playback/IPlayer.java
index 6a1118ce5..aba395ec1 100644
--- a/core/src/main/java/de/danoeh/antennapod/core/util/playback/IPlayer.java
+++ b/core/src/main/java/de/danoeh/antennapod/core/util/playback/IPlayer.java
@@ -30,7 +30,7 @@ public interface IPlayer {
void pause();
- void prepare() throws IllegalStateException;
+ void prepare() throws IllegalStateException, IOException;
void prepareAsync();
@@ -44,7 +44,7 @@ public interface IPlayer {
void setScreenOnWhilePlaying(boolean screenOn);
- void setDataSource(String path) throws IllegalStateException,
+ void setDataSource(String path) throws IllegalStateException, IOException,
IllegalArgumentException, SecurityException;
void setDisplay(SurfaceHolder sh);