commit | a485d6c097748ad1b430919fb847b31cfd89d5ec | [log] [tgz] |
---|---|---|
author | jhonboy121 <alfredmathew05@gmail.com> | Mon Dec 20 08:59:29 2021 +0530 |
committer | jhonboy121 <alfredmathew05@gmail.com> | Mon Dec 20 17:08:14 2021 +0530 |
tree | 3310cb333970547f10586b0c4068b8b1f8ead99f | |
parent | 072a5b79d8ac0c5de303ea5695f128f2dd307af9 [diff] |
GamingMode: use DisplayMetrics and configuration change callback to detect orientation and dimensions instead of ScreenUtil Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
exTHmUI 游戏模式
当进入游戏模式或者用户调节 SeekBar 时, 游戏模式会设置 sys.performance.level
这个属性。
设备维护者需要在代码中添加对这个属性变化的监听。 可以参考 这个commit