一些用户报告说,在华为EMUI 8.0 Oreo上,通知渠道从应用程序中不具有更改音调“声音”/“通知音”的选项!根据官方文档,开发人员不能再更改设置。那么,我该如何为华为手机添加一个选项以再次更改“通知音”?是否有人知道为什么华为会移除这个功能呢?我找不到华为的官方文档,说明我们现在如何让用户更改通知音。此处是我参考的官方文档:https://developer.android.com/reference/android/app/NotificationChannel.html
https://developer.android.com/reference/android/app/NotificationChannel.html#setSound(android.net.Uri,android.media.AudioAttributes)
https://developer.android.com/reference/android/app/NotificationChannel.html#setSound(android.net.Uri,android.media.AudioAttributes)