GamingMode: cleanup and don't change state from service

* Totally got rid of the LocalBroadcastManager usage and the public constant keys are now where they belong
* Next up is state restore from individual controllers

Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
5 files changed
tree: 1ef0715282a07f0e092bf83f6208c92ee42a755b
  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 这个属性。
设备维护者需要在代码中添加对这个属性变化的监听。 可以参考 这个commit

属性值说明

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

使用的第三方组件