mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Dismiss Voice Note player notification upon completion.
This commit is contained in:
@@ -124,6 +124,9 @@ public class VoiceNotePlaybackService extends MediaSessionService {
|
||||
sendViewedReceiptForCurrentWindowIndex();
|
||||
}
|
||||
break;
|
||||
case Player.STATE_ENDED:
|
||||
player.clearMediaItems();
|
||||
break;
|
||||
default:
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user