Updated build tools
This commit is contained in:
parent
e16a111a12
commit
1d0459b126
|
@ -37,12 +37,12 @@ subprojects {
|
||||||
}
|
}
|
||||||
|
|
||||||
project.ext {
|
project.ext {
|
||||||
compileSdkVersion = 25
|
compileSdkVersion = 26
|
||||||
buildToolsVersion = "27.0.3"
|
buildToolsVersion = "27.0.3"
|
||||||
minSdkVersion = 14
|
minSdkVersion = 14
|
||||||
targetSdkVersion = 26
|
targetSdkVersion = 26
|
||||||
|
|
||||||
supportVersion = "25.3.1"
|
supportVersion = "26.0.2"
|
||||||
commonsioVersion = "2.5"
|
commonsioVersion = "2.5"
|
||||||
commonslangVersion = "3.6"
|
commonslangVersion = "3.6"
|
||||||
commonstextVersion = "1.3"
|
commonstextVersion = "1.3"
|
||||||
|
@ -66,7 +66,7 @@ project.ext {
|
||||||
|
|
||||||
castCompanionLibVer = "2.9.1"
|
castCompanionLibVer = "2.9.1"
|
||||||
playServicesVersion = "8.4.0"
|
playServicesVersion = "8.4.0"
|
||||||
wearableSupportVersion = "2.0.3"
|
wearableSupportVersion = "2.2.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
task wrapper(type: Wrapper) {
|
task wrapper(type: Wrapper) {
|
||||||
|
|
|
@ -12,7 +12,7 @@ dependencies:
|
||||||
- ~/.android
|
- ~/.android
|
||||||
- ~/android
|
- ~/android
|
||||||
pre:
|
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"
|
- echo y | android update sdk --no-ui --all --filter "build-tools-27.0.3"
|
||||||
override:
|
override:
|
||||||
- echo override dependencies
|
- echo override dependencies
|
||||||
|
|
|
@ -31,7 +31,7 @@ import android.support.v4.media.MediaMetadataCompat;
|
||||||
import android.support.v4.media.session.MediaSessionCompat;
|
import android.support.v4.media.session.MediaSessionCompat;
|
||||||
import android.support.v4.media.session.PlaybackStateCompat;
|
import android.support.v4.media.session.PlaybackStateCompat;
|
||||||
import android.support.v4.view.InputDeviceCompat;
|
import android.support.v4.view.InputDeviceCompat;
|
||||||
import android.support.v7.app.NotificationCompat;
|
import android.support.v4.app.NotificationCompat;
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.util.Pair;
|
import android.util.Pair;
|
||||||
|
@ -1293,7 +1293,7 @@ public class PlaybackService extends MediaBrowserServiceCompat {
|
||||||
|
|
||||||
PendingIntent stopButtonPendingIntent = getPendingIntentForMediaAction(
|
PendingIntent stopButtonPendingIntent = getPendingIntentForMediaAction(
|
||||||
KeyEvent.KEYCODE_MEDIA_STOP, numActions);
|
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())
|
.setMediaSession(mediaSession.getSessionToken())
|
||||||
.setShowActionsInCompactView(compactActionList.toArray())
|
.setShowActionsInCompactView(compactActionList.toArray())
|
||||||
.setShowCancelButton(true)
|
.setShowCancelButton(true)
|
||||||
|
|
Loading…
Reference in New Issue