优化
This commit is contained in:
@@ -136,6 +136,7 @@ kapt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
//noinspection GradleDependency
|
||||||
coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:1.1.6')
|
coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:1.1.6')
|
||||||
testImplementation('junit:junit:4.13.2')
|
testImplementation('junit:junit:4.13.2')
|
||||||
androidTestImplementation('androidx.test:runner:1.4.0')
|
androidTestImplementation('androidx.test:runner:1.4.0')
|
||||||
|
|||||||
@@ -143,6 +143,7 @@ abstract class BaseReadAloudService : BaseService(),
|
|||||||
}
|
}
|
||||||
|
|
||||||
open fun play() {
|
open fun play() {
|
||||||
|
isRun = true
|
||||||
pause = false
|
pause = false
|
||||||
upNotification()
|
upNotification()
|
||||||
postEvent(EventBus.ALOUD_STATE, Status.PLAY)
|
postEvent(EventBus.ALOUD_STATE, Status.PLAY)
|
||||||
|
|||||||
Reference in New Issue
Block a user