V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
zinwalin
V2EX  ›  Android

安卓系统里的音量或亮度的最大值默认是 255,有办法改小一点吗?

  •  
  •   zinwalin · 2022-05-11 11:38:47 +08:00 · 4064 次点击
    这是一个创建于 687 天前的主题,其中的信息可能已经有所发展或是发生改变。

    有人在哪里修改吗? 感谢。

    5 条回复    2022-05-11 14:12:31 +08:00
    biubiuF
        1
    biubiuF  
       2022-05-11 11:41:13 +08:00
    反编译 framework.apk
    zinwalin
        2
    zinwalin  
    OP
       2022-05-11 13:33:05 +08:00
    @biubiuF 安卓系统可以自己修改,我想知道应该在代码哪里修改默认值。
    shaobin0604
        3
    shaobin0604  
       2022-05-11 13:59:32 +08:00
    音量最大值是 15
    mgrddsj
        4
    mgrddsj  
       2022-05-11 14:03:03 +08:00 via Android
    不折腾方法:
    Volume Limiter, Volume Lock (Limit & Lock)
    https://play.google.com/store/apps/details?id=com.oh1000.limitedvolume
    zinwalin
        5
    zinwalin  
    OP
       2022-05-11 14:12:31 +08:00
    <integer name="config_screenBrightnessSettingMaximum">255</integer>

    找到了。 在 android/frameworks/base/core/res/res/values/config.xml 里
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2721 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 15:38 · PVG 23:38 · LAX 08:38 · JFK 11:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.