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

Commit 1bf3f307 authored by Ravinder Konka's avatar Ravinder Konka
Browse files

Connectivity: mDefaultSubscription set to ZERO

incase of SettingNotFound Exception.

MULTI_SIM_DEFAULT_DATA_CALL_SUBSCRIPTION property
not avilable when SettingsNotFound, so set the
mDefaultSubscription to ZERO

Change-Id: I7abb3d32144beda958489e08fb0947b6364d1dad
parent f5e7178a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -803,6 +803,10 @@ public class ConnectivityService extends IConnectivityManager.Stub {
                    log("MULTI_SIM_DEFAULT_DATA_CALL_SUBSCRIPTION"
                +" not found in settings manager");
                e.printStackTrace();
                if (mDefaultSubscription < 0) {
                    mDefaultSubscription = 0;
                    loge("ConnectivityService mDefaultSub - "  + mDefaultSubscription);
                }
            }
        }