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

Commit d7a6a7f1 authored by Tetiana Meronyk's avatar Tetiana Meronyk Committed by Android (Google) Code Review
Browse files

Merge "Remove toggle "Turn on phone calls & SMS" from User Details of Main user" into main

parents 8e2ae547 30ca0fbb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -376,7 +376,9 @@ public class UserDetailsSettings extends SettingsPreferenceFragment
            if (!Utils.isVoiceCapable(context)) { // no telephony
                removePreference(KEY_ENABLE_TELEPHONY);
            }

            if (mUserInfo.isMain()) {
                removePreference(KEY_ENABLE_TELEPHONY);
            }
            if (mUserInfo.isRestricted()) {
                removePreference(KEY_ENABLE_TELEPHONY);
                if (isNewUser) {