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

Skip to content
Commit 686c455c authored by Billy Laws's avatar Billy Laws Committed by Rashed Abdel-Tawab
Browse files

SF: Correctly handle the LayerRequest bitfield

As LayerRequest is a bitfield ('1 << 0' is used in the enum
declaration) we need to AND the bit individually rather than the whole
value for each flag, furthermore to_string cannot be used for unknown
values as it only prints values already in the enum, which logically
wouldn't be unknown. This change is needed on Nvidia devices to avoid
missing the ClearClient target request when it's submitted together with
their custom ones.

Change-Id: I244c50488fbfc4d1b93c0f9409bed15c39668c76
parent 75f7787e
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