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

Commit 6647da1f authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 21919 into eclair

* changes:
  Fix exception when reporting disconn cdma state.
parents 37e036fb 75e1d313
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -535,10 +535,13 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
            intent.putExtra(Phone.STATE_CHANGE_REASON_KEY, reason);
        }
        intent.putExtra(Phone.DATA_APN_KEY, apn);
        String types = apnTypes[0];
        String types = new String("");
        if (apnTypes.length > 0) {
            types = apnTypes[0];
            for (int i = 1; i < apnTypes.length; i++) {
                types = types+","+apnTypes[i];
            }
        }
        intent.putExtra(Phone.DATA_APN_TYPES_KEY, types);
        intent.putExtra(Phone.DATA_IFACE_NAME_KEY, interfaceName);
        mContext.sendStickyBroadcast(intent);