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

Skip to content
Commit 3c54d586 authored by Sam Mortimer's avatar Sam Mortimer
Browse files

lineage-sdk: Support requiresConfig integers and add requiresConfigMask

*) Add support for integer requiresConfig resources (previously supported
   only strings and bools).  Preference is removed if the int is 0.

*) Add a new attribute requiresConfigMask that takes a string decimal int.
   If requiresConfig is an integer then the pref is removed if
   (requiresConfig resource value & requiresConfigMask value) == 0.
   If requiresConfig is not an integer type then requiresConfigMask
   is ignored.

*) Code clean-up for the rest of checking requiresConfig.

Change-Id: Ic2622809c02a94d9cecf6f59ed6e689fdb835458
parent 3276a6ba
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