Comments (6)
收到,我会尽快修复的
from snow.
好的
from snow.
BUG 已修复。
注意!忽略音频焦点后,来电时播放器不会自动暂停播放!如果您想忽略音频焦点,并且在来电时自动暂停播放,则需要在运行时请求 android.permission.READ_PHONE_STATE
权限。
from snow.
不是这个问题啊,是我开启忽略音频焦点就会闪退,闪退之后播放音频也会闪退,得重新开启音频焦点才行。
from snow.
闪退的问题已经修复了。
之前代码会在忽略音频焦点后,为了在手机来电时自动暂停播放,会监听手机来电状态,而监听手机来电状态需要权限,之前的代码中没有做权限检测,因此导致崩溃。现在已经加上权限检测了,忽略音频焦点后不会再崩溃。但如果还需要在忽略音频焦点后,在手机来电时自动暂停播放,则需要额外在运行时申请 android.permission.READ_PHONE_STATE
权限。
from snow.
好了,解决了,谢谢
from snow.
Related Issues (20)
- Android Latest Version Notification Problem HOT 4
- getPlayProgress 使用问题 HOT 2
- Fatal Exception: android.app.ForegroundServiceStartNotAllowedException HOT 6
- Custom Notification icon HOT 6
- Fatal Exception: java.lang.IndexOutOfBoundsException HOT 2
- EqualizerActivity Failed resolution of: Landroidx/databinding/DataBinderMapperImpl; HOT 7
- STATE_BUFFERING update when play start HOT 1
- EqualizerActivity 正在播放音频开启均衡器会闪退 HOT 3
- 为什么有些网络歌曲没播放完就直接播放下一首了
- How can I add images of songs in local music and album ? HOT 5
- moveMusicItem 移动歌曲位置有问题啊。 HOT 3
- “"音量均衡”功能和修改”随机播放“算法 HOT 10
- AppWidget 怎么接收不到广播啊? HOT 12
- MIUI14上通知栏专辑封面显示问题 HOT 6
- setNextPlay()添加下一首播放有问题。 HOT 3
- qq音乐的播放链接不能播放,用浏览器直接打开是没问题的 HOT 1
- Android 13 黑屏音乐过一会就会停止播放 HOT 15
- 寻求一下帮助。 HOT 9
- 没有设置播放音量大小的方法吗 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snow.