diff options
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/CoverTarget.java | 2 | ||||
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/CoverTarget.java b/app/src/main/java/de/danoeh/antennapod/adapter/CoverTarget.java index 40cd5a903..538af8c79 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/CoverTarget.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/CoverTarget.java @@ -48,7 +48,7 @@ class CoverTarget extends GlideDrawableImageViewTarget { } @Override - public void onResourceReady(GlideDrawable drawable, GlideAnimation anim) { + public void onResourceReady(GlideDrawable drawable, GlideAnimation<? super GlideDrawable> anim) { super.onResourceReady(drawable, anim); TextView txtvPlaceholder = placeholder.get(); if (txtvPlaceholder != null) { diff --git a/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java b/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java index 6c03dc7ae..183ef338a 100644 --- a/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java +++ b/app/src/main/java/de/danoeh/antennapod/preferences/PreferenceController.java @@ -127,7 +127,7 @@ public class PreferenceController implements SharedPreferences.OnSharedPreferenc * * @return PreferenceActivity if the API level is greater than 10, PreferenceActivityGingerbread otherwise. */ - public static Class getPreferenceActivity() { + public static Class<? extends Activity> getPreferenceActivity() { if (Build.VERSION.SDK_INT > 10) { return PreferenceActivity.class; } else { |