summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2024-02-26 21:20:30 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2024-02-27 21:35:45 +0000
commitc8377b06441cd45f3124159844b1a2f899dc9cbc (patch)
tree8aa990a5d98545a690add9cf089f7ea3525fe019 /libs/ultrahdr/jpegencoderhelper.cpp
parent9180f87bfaac7d0f063d1f59fa572e4751899af6 (diff)
Read pointer choreographer flag at boot
In native code, we are sometimes reading the enable_pointer_choreographer flag value at boot, and sometimes later during runtime. Since DeviceConfig flag values can change at runtime, the flag values loaded later can sometimes change, resulting in an unexpected state where some code relies on the boot-time value and others on the "current" value. While we should have been using read-only flags in the first place, we cannot convert existing flags to be read-only. So to increase consistency within native code, change all reads of the enable_pointer_choreographer flag to happen at boot. This CL also updates the test to match the change in flagging approach. Bug: 324534774 Test: Presubmit Change-Id: I32cd6e52e2df260afd3d7681760a987ed060321a
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions