diff options
author | ByteHamster <info@bytehamster.com> | 2020-03-25 17:00:48 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-03-25 17:00:48 +0100 |
commit | 9e84a0626049430fbd758aea2bf2fd00e12811b2 (patch) | |
tree | 4bc2f3553e131304037c822558fa9b67ebe72835 /app/src/free/java | |
parent | a989db586a853852549c638d43c425a3463f901d (diff) | |
download | AntennaPod-9e84a0626049430fbd758aea2bf2fd00e12811b2.zip |
Reworked cast button handling
Diffstat (limited to 'app/src/free/java')
-rw-r--r-- | app/src/free/java/de/danoeh/antennapod/activity/CastEnabledActivity.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/free/java/de/danoeh/antennapod/activity/CastEnabledActivity.java b/app/src/free/java/de/danoeh/antennapod/activity/CastEnabledActivity.java index aff1d6ea4..98d506f65 100644 --- a/app/src/free/java/de/danoeh/antennapod/activity/CastEnabledActivity.java +++ b/app/src/free/java/de/danoeh/antennapod/activity/CastEnabledActivity.java @@ -2,6 +2,8 @@ package de.danoeh.antennapod.activity; import androidx.appcompat.app.AppCompatActivity; +import android.view.Menu; + /** * Activity that allows for showing the MediaRouter button whenever there's a cast device in the * network. @@ -9,7 +11,7 @@ import androidx.appcompat.app.AppCompatActivity; public abstract class CastEnabledActivity extends AppCompatActivity { public static final String TAG = "CastEnabledActivity"; - public final void requestCastButton(int showAsAction) { + public final void requestCastButton(Menu menu) { // no-op } } |