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

Commit f8d6f72d authored by Sharvil Nanavati's avatar Sharvil Nanavati Committed by Android Git Automerger
Browse files

am 69504b53: Merge "DO NOT MERGE Work around for not getting APN info in...

am 69504b53: Merge "DO NOT MERGE Work around for not getting APN info in NetworkInfo object." into cw-e-dev

* commit '69504b53':
  DO NOT MERGE Work around for not getting APN info in NetworkInfo object.
parents e30df6fc 69504b53
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -766,6 +766,10 @@ public class GpsLocationProvider implements LocationProviderInterface {
                && mAGpsDataConnectionState == AGPS_DATA_CONNECTION_OPENING) {
            if (mNetworkAvailable) {
                String apnName = info.getExtraInfo();
                // APN wasn't found in the intent, try to get it from the content provider.
                if (apnName == null) {
                    apnName = getSelectedApn();
                }
                if (apnName == null) {
                    /* Assign a dummy value in the case of C2K as otherwise we will have a runtime
                    exception in the following call to native_agps_data_conn_open*/