简体   繁体   English

在android中禁用声音安全级别通知

[英]Disable sound safe level notification in android

In My android App I need to raise the volume and when I raise I get a notification like this: 在我的Android应用程序中,我需要提高音量,当我加注时,我收到这样的通知:

"Raise volume above safe level ? Listening at high volume for long periods may damage your hearing" “将音量提高到安全水平以上?长时间高音量聆听可能会损害您的听力”

How can I disable this function ? 如何禁用此功能?

This limitation is baked into the Android OS, so the solution almost universal. 这种限制已经融入到Android OS中,因此该解决方案几乎具有普遍性。 You need to root your device first... Search for an applicable rooting method that goes with your device and root it. 您需要先设备根设备...搜索与您的设备一起使用并生根的适用生根方法。 Then check out the link below. 然后查看下面的链接。 The author says "It works by simply setting the config_safe_media_volume_enabled system parameter to false at boot time. Because it uses the Xposed framework, it is device and rom independent" 作者说:“它只是在启动时将config_safe_media_volume_enabled系统参数设置为false。因为它使用Xposed框架,它是设备和rom独立的”

http://forum.xda-developers.com/showthread.php?t=2338474 http://forum.xda-developers.com/showthread.php?t=2338474

(Some say) you can use Hearing Saver to disable (as a side-effect) the annoying warning; (有人说)你可以使用Hearing Saver来禁用(作为副作用)烦人的警告; see here 看到这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM