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

Commit 4c3f454c authored by Bonian Chen's avatar Bonian Chen Committed by Gerrit Code Review
Browse files

Merge "Fix Text of VoLTE setting cannot be updated when SIM state is changed"

parents f4e2f69f 638f12a6
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -77,9 +77,6 @@ public class Enhanced4gBasePreferenceController extends TelephonyTogglePreferenc
            mPhoneStateListener = new PhoneCallStateListener();
        }

        if (mSubId == subId) {
            return this;
        }
        mSubId = subId;
        final PersistableBundle carrierConfig = getCarrierConfigForSubId(subId);
        if (carrierConfig == null) {
@@ -130,7 +127,7 @@ public class Enhanced4gBasePreferenceController extends TelephonyTogglePreferenc

    @Override
    public void onStart() {
        if (!isModeMatched() || (mPhoneStateListener == null)) {
        if (mPhoneStateListener == null) {
            return;
        }
        mPhoneStateListener.register(mContext, mSubId);