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

Commit 587465dc authored by Natiq Ahmed's avatar Natiq Ahmed Committed by Linux Build Service Account
Browse files

Compilaiton Fix for New Aosp.

Compilaiton Fix for New Aosp

Change-Id: I10cfde5856510cd101f4c093ae419c5666c13ec4
parent 755eeebd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ import android.os.RegistrantList;
import android.os.Registrant;
import android.telecom.VideoProfile;
import android.telephony.PhoneNumberUtils;
import android.telephony.SubscriptionManager;
import android.telephony.TelephonyManager;
import android.telephony.PhoneStateListener;
import android.telephony.ServiceState;
+2 −2
Original line number Diff line number Diff line
@@ -1680,8 +1680,8 @@ public class SubscriptionController extends ISub.Stub {
        List<SubInfoRecord> subInfoList = getAllSubInfoList();
        SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext);
        for (SubInfoRecord subInfo : subInfoList) {
            if (subInfo.mSlotId == -1) {
                sp.edit().remove(prefKey+subInfo.mSubId).commit();
            if (subInfo.slotId == -1) {
                sp.edit().remove(prefKey+subInfo.subId).commit();
            }
        }
    }