This commit is contained in:
kunfei 2023-11-30 16:42:05 +08:00
parent 201225c196
commit bf298b0474
3 changed files with 27 additions and 11 deletions

View File

@ -166,7 +166,7 @@ dependencies {
implementation('androidx.constraintlayout:constraintlayout:2.1.4') implementation('androidx.constraintlayout:constraintlayout:2.1.4')
implementation('androidx.swiperefreshlayout:swiperefreshlayout:1.1.0') implementation('androidx.swiperefreshlayout:swiperefreshlayout:1.1.0')
implementation('androidx.viewpager2:viewpager2:1.0.0') implementation('androidx.viewpager2:viewpager2:1.0.0')
implementation('androidx.webkit:webkit:1.8.0') implementation('androidx.webkit:webkit:1.9.0')
//google //google
implementation('com.google.android.material:material:1.10.0') implementation('com.google.android.material:material:1.10.0')
@ -179,7 +179,7 @@ dependencies {
implementation("androidx.lifecycle:lifecycle-service:$lifecycle_version") implementation("androidx.lifecycle:lifecycle-service:$lifecycle_version")
//media //media
implementation("androidx.media:media:1.6.0") implementation("androidx.media:media:1.7.0")
// For media playback using ExoPlayer // For media playback using ExoPlayer
implementation "androidx.media3:media3-exoplayer:$media3_version" implementation "androidx.media3:media3-exoplayer:$media3_version"
// For loading data using the OkHttp network stack // For loading data using the OkHttp network stack

View File

@ -411,10 +411,18 @@
</intent-filter> </intent-filter>
</activity> </activity>
<service android:name=".service.CheckSourceService" /> <service
<service android:name=".service.CacheBookService" /> android:name=".service.CheckSourceService"
<service android:name=".service.ExportBookService" /> android:foregroundServiceType="dataSync" />
<service android:name=".service.WebService" /> <service
android:name=".service.CacheBookService"
android:foregroundServiceType="dataSync" />
<service
android:name=".service.ExportBookService"
android:foregroundServiceType="dataSync" />
<service
android:name=".service.WebService"
android:foregroundServiceType="connectedDevice" />
<service <service
android:name=".service.WebTileService" android:name=".service.WebTileService"
android:exported="true" android:exported="true"
@ -425,10 +433,18 @@
<action android:name="android.service.quicksettings.action.QS_TILE" /> <action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter> </intent-filter>
</service> </service>
<service android:name=".service.TTSReadAloudService" /> <service
<service android:name=".service.HttpReadAloudService" /> android:name=".service.TTSReadAloudService"
<service android:name=".service.AudioPlayService" /> android:foregroundServiceType="mediaPlayback" />
<service android:name=".service.DownloadService" /> <service
android:name=".service.HttpReadAloudService"
android:foregroundServiceType="mediaPlayback" />
<service
android:name=".service.AudioPlayService"
android:foregroundServiceType="mediaPlayback" />
<service
android:name=".service.DownloadService"
android:foregroundServiceType="dataSync" />
<receiver <receiver
android:name=".receiver.MediaButtonReceiver" android:name=".receiver.MediaButtonReceiver"

View File

@ -9,7 +9,7 @@ buildscript {
agp_version = '8.1.4' agp_version = '8.1.4'
media3_version = "1.2.0" media3_version = "1.2.0"
splitties_version = '3.0.0' splitties_version = '3.0.0'
room_version = '2.6.0' room_version = '2.6.1'
} }
} }