Set product_specific:true for privapp_whitelist

According to https://source.android.google.cn/devices/tech/config/perms-whitelist , the privapp-permissions.xml file can only grant or deny permissions for privileged apps on the same partition. Set this to put privapp_whitelist_org.exthmui.game.xml to the same partition which contains GamingMode app and grant permissions for this app correctly.
1 file changed
tree: f5b2f23d13136af22b581b43702d678d2437936a
  1. app/
  2. gradle/
  3. .gitignore
  4. build.gradle
  5. gradle.properties
  6. gradlew
  7. gradlew.bat
  8. keystore.properties.sample
  9. README.md
  10. settings.gradle
README.md

GamingMode

exTHmUI 游戏模式

性能调节器说明

当进入游戏模式或者用户调节 SeekBar 时, 游戏模式会设置 sys.performance.level 这个属性。
设备维护者需要在代码中添加对这个属性变化的监听。

属性值说明

  • 0-6 : 数值越大性能越高
  • -1 : 恢复默认性能

使用的第三方组件