Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6040f3ca authored by seokgyun.hong's avatar seokgyun.hong Committed by BK Choi
Browse files

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
parent d9a94996
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment