diff --git a/.travis.yml b/.travis.yml index e97403e..4848ed2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,4 +27,4 @@ android: before_script: script: - - ./gradlew testFullDebugUnitTest assembleFullRelease + - ./gradlew lintFullRelease testFullDebugUnitTest assembleFullRelease diff --git a/app/build.gradle b/app/build.gradle index ec6328f..68cd169 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -83,9 +83,10 @@ android { // Too much trouble keeping all translations in sync disable 'MissingTranslation' - // okio generates a lint error which should be ignored. Demote it to warning - // See https://github.com/square/okio/issues/58 - warning 'InvalidPackage' + //The xml launcher icon introduced in API 26 causes lint to generate + //an error that the icon is not a PNG format + //This reduces the error to a warning + warning 'IconLauncherFormat' } // allprojects { diff --git a/app/src/main/java/org/xbmc/kore/ui/sections/video/TVShowProgressFragment.java b/app/src/main/java/org/xbmc/kore/ui/sections/video/TVShowProgressFragment.java index 841ab72..0644c56 100644 --- a/app/src/main/java/org/xbmc/kore/ui/sections/video/TVShowProgressFragment.java +++ b/app/src/main/java/org/xbmc/kore/ui/sections/video/TVShowProgressFragment.java @@ -259,6 +259,7 @@ public class TVShowProgressFragment extends AbstractAdditionalInfoFragment imple * * @param cursor Cursor with the data */ + @TargetApi(21) private void displaySeasonList(Cursor cursor) { TextView seasonsListTitle = (TextView) getActivity().findViewById(R.id.seasons_title); GridLayout seasonsList = (GridLayout) getActivity().findViewById(R.id.seasons_list); diff --git a/app/src/main/res/values-sw360dp-land/styles.xml b/app/src/main/res/values-sw360dp-land/styles.xml index f5543b7..c535888 100644 --- a/app/src/main/res/values-sw360dp-land/styles.xml +++ b/app/src/main/res/values-sw360dp-land/styles.xml @@ -4,7 +4,6 @@ @dimen/remote_size @dimen/remote_size @dimen/remote_content_hmargin - @dimen/remote_content_hmargin