更新时间:2022-06-25 23:36:31
您应使用
You should use MediaSession since its designed to help you control Media playing and controlling media playback. Check the reference and follow steps for using MediaSession.
Android即使手机处于锁定和睡眠状态也如何保持音乐播放