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
Loading
Please register or sign in to comment