up to media2

pull/849/head
gedoor 4 years ago
parent e1ad15cdee
commit f5907f7534
  1. 10
      app/build.gradle
  2. 1
      app/src/main/java/io/legado/app/service/HttpReadAloudService.kt

@ -134,11 +134,16 @@ dependencies {
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'androidx.viewpager2:viewpager2:1.0.0'
implementation 'androidx.media:media:1.2.1'
implementation 'com.google.android.material:material:1.2.1'
implementation 'com.google.android:flexbox:1.1.0'
implementation 'com.google.code.gson:gson:2.8.6'
//media
def media2_version = "1.1.2"
implementation "androidx.media2:media2-session:$media2_version"
//implementation "androidx.media2:media2-player:$media2_version"
//implementation 'com.google.android.exoplayer:exoplayer:2.13.0'
//Splitties
def splitties_version = '2.1.1'
implementation("com.louiscad.splitties:splitties-appctx:$splitties_version")
@ -203,9 +208,6 @@ dependencies {
implementation 'io.noties.markwon:ext-tables:4.6.0'
implementation 'io.noties.markwon:html:4.6.0'
//ExoPlayer
implementation 'com.google.android.exoplayer:exoplayer:2.13.0'
//
implementation 'com.hankcs:hanlp:portable-1.7.8'

@ -3,6 +3,7 @@ package io.legado.app.service
import android.app.PendingIntent
import android.content.Intent
import android.media.MediaPlayer
import io.legado.app.constant.EventBus
import io.legado.app.help.AppConfig
import io.legado.app.help.IntentHelp

Loading…
Cancel
Save