summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author seokgyun.hong <seokgyun.hong@lge.com> 2024-03-07 21:35:51 +0900
committer BK Choi <bkchoi@google.com> 2024-07-02 17:43:42 +0000
commit6040f3cab37abc48f1c20e7fa5c18873a3e9f5e3 (patch)
treec2891904930418b33046153bce81fc897e73e70b /libs/androidfw/StringPool.cpp
parentd9a9499679ffad8ebbd18ed9c5249259a19374ca (diff)
Ensure only authorized users can set display's color transforms.
Currently, the display's color transforms are applied based on the current user, and there are assumptions that the requesting user is the current user. As a result, even if a non-current user attempts to set the color transform, the current user's settings could be changed. On devices that support 'multi-user on multiple displays', requests to set the color transform from visible background users should not be allowed. (cherry-picked from https://partner-android-review.git.corp.google.com/c/platform/frameworks/base/+/2814749) Bug: 328567508 Flag: EXEMPT bugfix (localized component, does not affect phones) Test: atest ColorDisplayServiceTest Change-Id: Ibac001823fbda21504ffa5c51c80a1e5daf4c080
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions