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

Skip to content
Commit 4107ea08 authored by Ed Falk's avatar Ed Falk Committed by Gerrit Code Review
Browse files

Disable sim toggle switch if preference is disabled



Normally, if a SwitchPreference is disabled, the Switch
GUI element is also disabled. MultiSimEnablerPreference added
an "explicitly disabled" flag to allow a client to explicitly
disable the switch. However, as written, the code was looking
at the "explicitly disabled" flag only, and ignoring whether
or not the preference was disabled. This change fixes that.

JALEBI-139

Signed-off-by: default avatarEdward Falk <efalk@cyngn.com>
Cherry picked from cm-12.1, eb04e7cc

Change-Id: I33de46fa19808075756933fbbb32e53e32ca8eab
parent 453d7205
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