diff options
author | Andrew Gaul <andrew@gaul.org> | 2016-05-15 23:42:43 -0700 |
---|---|---|
committer | Andrew Gaul <andrew@gaul.org> | 2016-05-17 15:38:44 -0700 |
commit | cf942d1350d3925ab48858aa524e83c93b1e5c19 (patch) | |
tree | e45fbc71dbc66925604294da0414ddd0d75bce96 /app/src | |
parent | c5fa967a10fc09c7a675fb361a2aea1889d8cada (diff) | |
download | AntennaPod-cf942d1350d3925ab48858aa524e83c93b1e5c19.zip |
Enable Xlint and correct warnings
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 { |