diff options
author | Martin Fietz <martin.fietz@gmail.com> | 2018-01-14 18:42:50 +0100 |
---|---|---|
committer | Martin Fietz <martin.fietz@gmail.com> | 2018-01-14 18:42:50 +0100 |
commit | 99f01bdc90a54b8c0050e1101ca95eb2fe4e7eb6 (patch) | |
tree | 17c6072958f98c594b65cb75dc37b96b99638a5e /core | |
parent | e56e3868da4d4440adf6181c5cef0bf1bcf1906e (diff) | |
download | AntennaPod-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.java | 4 |
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); |