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

Skip to content
Commit abf91060 authored by Ady Abraham's avatar Ady Abraham
Browse files

SurfaceFlinger: lock mStateLock when modifying allowed configs

mAllowedDisplayConfigs should be protected by mStateLock when changing
it from the main thread in setAllowedDisplayConfigsInternal() as it is
being read by Binder threads in getAllowedDisplayConfigs().

Test: call setAllowedDisplayConfigs() and getAllowedDisplayConfigs()
      from backdoor using different threads.
Bug: 142850581

Change-Id: I569e75968aea676c96fbc648140ac49a165ffb69
Merged-In: I569e75968aea676c96fbc648140ac49a165ffb69
parent e33b0ef0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment