pull/525/head
gedoor 4 years ago
parent 8b441a76c0
commit 15609cc898
  1. 2
      app/src/main/java/io/legado/app/service/AudioPlayService.kt
  2. 2
      app/src/main/res/values-zh-rHK/strings.xml
  3. 2
      app/src/main/res/values-zh-rTW/strings.xml
  4. 2
      app/src/main/res/values-zh/strings.xml
  5. 2
      app/src/main/res/values/strings.xml

@ -68,6 +68,7 @@ class AudioPlayService : BaseService(),
override fun onCreate() {
super.onCreate()
isRun = true
upNotification()
audioManager = getSystemService(Context.AUDIO_SERVICE) as AudioManager
mFocusRequest = MediaHelp.getFocusRequest(this)
mediaPlayer.setOnErrorListener(this)
@ -75,7 +76,6 @@ class AudioPlayService : BaseService(),
mediaPlayer.setOnCompletionListener(this)
initMediaSession()
initBroadcastReceiver()
upNotification()
upMediaSessionPlaybackState(PlaybackStateCompat.STATE_PLAYING)
}

@ -786,6 +786,6 @@
<string name="show_hide">显示/隐藏</string>
<string name="header_footer">页眉<![CDATA[&]]>页脚</string>
<string name="rule_subscription">规则订阅</string>
<string name="rule_sub_empty_msg">添加大佬们提供的源导入地址,添加后点击可导入源</string>
<string name="rule_sub_empty_msg">添加大佬们提供的规则导入地址\n添加后点击可导入规则</string>
</resources>

@ -787,6 +787,6 @@
<string name="show_hide">显示/隐藏</string>
<string name="header_footer">页眉<![CDATA[&]]>页脚</string>
<string name="rule_subscription">规则订阅</string>
<string name="rule_sub_empty_msg">添加大佬们提供的源导入地址,添加后点击可导入源</string>
<string name="rule_sub_empty_msg">添加大佬们提供的规则导入地址\n添加后点击可导入规则</string>
</resources>

@ -790,6 +790,6 @@
<string name="show_hide">显示/隐藏</string>
<string name="header_footer">页眉<![CDATA[&]]>页脚</string>
<string name="rule_subscription">规则订阅</string>
<string name="rule_sub_empty_msg">添加大佬们提供的源导入地址,添加后点击可导入源</string>
<string name="rule_sub_empty_msg">添加大佬们提供的规则导入地址\n添加后点击可导入规则</string>
</resources>

@ -793,6 +793,6 @@
<string name="show_hide">显示/隐藏</string>
<string name="header_footer">footer <![CDATA[&]]> header</string>
<string name="rule_subscription">规则订阅</string>
<string name="rule_sub_empty_msg">添加大佬们提供的源导入地址,添加后点击可导入源</string>
<string name="rule_sub_empty_msg">添加大佬们提供的规则导入地址\n添加后点击可导入规则</string>
</resources>

Loading…
Cancel
Save