diff --git a/build.gradle b/build.gradle index a6d391a27..8ced01326 100644 --- a/build.gradle +++ b/build.gradle @@ -37,12 +37,12 @@ subprojects { } project.ext { - compileSdkVersion = 25 + compileSdkVersion = 26 buildToolsVersion = "27.0.3" minSdkVersion = 14 targetSdkVersion = 26 - supportVersion = "25.3.1" + supportVersion = "26.0.2" commonsioVersion = "2.5" commonslangVersion = "3.6" commonstextVersion = "1.3" @@ -66,7 +66,7 @@ project.ext { castCompanionLibVer = "2.9.1" playServicesVersion = "8.4.0" - wearableSupportVersion = "2.0.3" + wearableSupportVersion = "2.2.0" } task wrapper(type: Wrapper) { diff --git a/circle.yml b/circle.yml index 5a5a129ea..151ad897c 100644 --- a/circle.yml +++ b/circle.yml @@ -12,7 +12,7 @@ dependencies: - ~/.android - ~/android pre: - - echo y | android update sdk --no-ui --all --filter "tool,extra-android-m2repository,extra-android-support,extra-google-google_play_services,extra-google-m2repository,android-25" + - echo y | android update sdk --no-ui --all --filter "tool,extra-android-m2repository,extra-android-support,extra-google-google_play_services,extra-google-m2repository,android-26" - echo y | android update sdk --no-ui --all --filter "build-tools-27.0.3" override: - echo override dependencies diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java index 67a2cdad2..3479c3368 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java @@ -31,7 +31,7 @@ import android.support.v4.media.MediaMetadataCompat; import android.support.v4.media.session.MediaSessionCompat; import android.support.v4.media.session.PlaybackStateCompat; import android.support.v4.view.InputDeviceCompat; -import android.support.v7.app.NotificationCompat; +import android.support.v4.app.NotificationCompat; import android.text.TextUtils; import android.util.Log; import android.util.Pair; @@ -1293,7 +1293,7 @@ public class PlaybackService extends MediaBrowserServiceCompat { PendingIntent stopButtonPendingIntent = getPendingIntentForMediaAction( KeyEvent.KEYCODE_MEDIA_STOP, numActions); - notificationBuilder.setStyle(new android.support.v7.app.NotificationCompat.MediaStyle() + notificationBuilder.setStyle(new android.support.v4.media.app.NotificationCompat.MediaStyle() .setMediaSession(mediaSession.getSessionToken()) .setShowActionsInCompactView(compactActionList.toArray()) .setShowCancelButton(true)