OSDN Git Service

Read the high refresh rate blacklist from DeviceConfig.
authorMichael Wright <michaelwr@google.com>
Thu, 4 Jul 2019 18:17:19 +0000 (19:17 +0100)
committerJorim Jaggi <jjaggi@google.com>
Thu, 11 Jul 2019 14:26:35 +0000 (16:26 +0200)
commit6a51b35a7d78a9616cb9a00e8c5787b70d82d001
tree90f237a1def3995a385c3be2d11bc4a6519cc74c
parent65ded6c6551540959259789446e68245e3260177
Read the high refresh rate blacklist from DeviceConfig.

When available, we should read the high refresh rate blacklist from
DeviceConfig, and use the device's configured list as a default /
fallback. This lets us change the blacklist in the field in case we find
additional compatibility issues, or one of the developers fixes their
app and asks us to remove them from the blacklist.

Fixes: 132338514
Test: atest WmTests:HighRefreshRateBlacklistTest
Exempt-From-Owner-Approval: TBR
Merged-In: I984dab60eeafff01758ac38c3db6056b33f662a6
Change-Id: I984dab60eeafff01758ac38c3db6056b33f662a6
core/java/android/provider/DeviceConfig.java
core/res/res/values/config.xml
core/res/res/values/symbols.xml
services/core/java/com/android/server/wm/HighRefreshRateBlacklist.java
services/core/java/com/android/server/wm/WindowManagerService.java
services/tests/wmtests/src/com/android/server/wm/HighRefreshRateBlacklistTest.java