summaryrefslogtreecommitdiff
path: root/libs/hwui/DeviceInfo.cpp
diff options
context:
space:
mode:
author Chen Bai <chenbai@google.com> 2024-02-15 19:39:19 -0800
committer Chen Bai <chenbai@google.com> 2024-02-17 01:57:29 +0000
commit0e978d80561b5022d562a7edfbc21593cb70e52c (patch)
treed5e0c4de893c0ccc8ec6c9c0a71f3d7b6a8706e3 /libs/hwui/DeviceInfo.cpp
parenta82202a5634f3d0cfc7e17460aa5dc5fe138d32c (diff)
stop offload only when current display state is unsupported by offload
"stop offload" was always executed which could be redundant and make screen brightness flaky. This CL makes "stop offload" only happen when current display state is not suitable for offload. Test: Manual Bug: 325156852 Change-Id: Ic80e7034e9b30a9260833e02b7713c73bb2efbcb
Diffstat (limited to 'libs/hwui/DeviceInfo.cpp')
0 files changed, 0 insertions, 0 deletions