mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 06:25:14 +01:00
Bug fixes
This commit is contained in:
parent
fe599cd519
commit
7e327c1e2c
2 changed files with 33 additions and 32 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 23ae67306d7fa1c4d5a8a9c8653f63ab93100f88
|
||||
Subproject commit bfa1e6ab76a467c6c6bff7eabb7c213acc7a1b34
|
|
@ -343,8 +343,9 @@ public class MusicPlayerService extends Service implements NotificationCenter.No
|
|||
AndroidUtilities.runOnUIThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if(remoteControlClient==null)
|
||||
if (remoteControlClient == null || MediaController.getInstance().getPlayingMessageObject() == null) {
|
||||
return;
|
||||
}
|
||||
if (MediaController.getInstance().getPlayingMessageObject().audioPlayerDuration == C.TIME_UNSET) {
|
||||
AndroidUtilities.runOnUIThread(this, 500);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue