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

Commit 6141ea95 authored by Jordan Liu's avatar Jordan Liu Committed by Gerrit Code Review
Browse files

Merge "Update reference to editable_voicemailnumber"

parents 039a96b1 2fffb383
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -1138,9 +1138,11 @@ public class SIMRecords extends IccRecords {
                                    onCphsCompleted));
                } else {
                    if (ar.userObj != null) {
                        Resources resource = Resources.getSystem();
                        if (ar.exception != null && resource.getBoolean(com.android.internal.
                                    R.bool.editable_voicemailnumber)) {
                        CarrierConfigManager configLoader = (CarrierConfigManager)
                                mContext.getSystemService(Context.CARRIER_CONFIG_SERVICE);
                        if (ar.exception != null && configLoader != null &&
                                configLoader.getConfig().getBoolean(
                                CarrierConfigManager.KEY_EDITABLE_VOICEMAIL_NUMBER_BOOL)) {
                            // GsmCdmaPhone will store vm number on device
                            // when IccVmNotSupportedException occurred
                            AsyncResult.forMessage(((Message) ar.userObj)).exception