Merge "Fixed the indentation"
This commit is contained in:
@@ -634,33 +634,33 @@ public class ApnSetting implements Parcelable {
|
|||||||
int maxConns, int waitTime, int maxConnsTime, int mtu, int mvnoType,
|
int maxConns, int waitTime, int maxConnsTime, int mtu, int mvnoType,
|
||||||
String mvnoMatchData, int apnSetId) {
|
String mvnoMatchData, int apnSetId) {
|
||||||
return new Builder()
|
return new Builder()
|
||||||
.setId(id)
|
.setId(id)
|
||||||
.setOperatorNumeric(operatorNumeric)
|
.setOperatorNumeric(operatorNumeric)
|
||||||
.setEntryName(entryName)
|
.setEntryName(entryName)
|
||||||
.setApnName(apnName)
|
.setApnName(apnName)
|
||||||
.setProxyAddress(proxyAddress)
|
.setProxyAddress(proxyAddress)
|
||||||
.setProxyPort(proxyPort)
|
.setProxyPort(proxyPort)
|
||||||
.setMmsc(mmsc)
|
.setMmsc(mmsc)
|
||||||
.setMmsProxyAddress(mmsProxyAddress)
|
.setMmsProxyAddress(mmsProxyAddress)
|
||||||
.setMmsProxyPort(mmsProxyPort)
|
.setMmsProxyPort(mmsProxyPort)
|
||||||
.setUser(user)
|
.setUser(user)
|
||||||
.setPassword(password)
|
.setPassword(password)
|
||||||
.setAuthType(authType)
|
.setAuthType(authType)
|
||||||
.setApnTypeBitmask(mApnTypeBitmask)
|
.setApnTypeBitmask(mApnTypeBitmask)
|
||||||
.setProtocol(protocol)
|
.setProtocol(protocol)
|
||||||
.setRoamingProtocol(roamingProtocol)
|
.setRoamingProtocol(roamingProtocol)
|
||||||
.setCarrierEnabled(carrierEnabled)
|
.setCarrierEnabled(carrierEnabled)
|
||||||
.setNetworkTypeBitmask(networkTypeBitmask)
|
.setNetworkTypeBitmask(networkTypeBitmask)
|
||||||
.setProfileId(profileId)
|
.setProfileId(profileId)
|
||||||
.setModemCognitive(modemCognitive)
|
.setModemCognitive(modemCognitive)
|
||||||
.setMaxConns(maxConns)
|
.setMaxConns(maxConns)
|
||||||
.setWaitTime(waitTime)
|
.setWaitTime(waitTime)
|
||||||
.setMaxConnsTime(maxConnsTime)
|
.setMaxConnsTime(maxConnsTime)
|
||||||
.setMtu(mtu)
|
.setMtu(mtu)
|
||||||
.setMvnoType(mvnoType)
|
.setMvnoType(mvnoType)
|
||||||
.setMvnoMatchData(mvnoMatchData)
|
.setMvnoMatchData(mvnoMatchData)
|
||||||
.setApnSetId(apnSetId)
|
.setApnSetId(apnSetId)
|
||||||
.buildWithoutCheck();
|
.buildWithoutCheck();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
@@ -692,56 +692,56 @@ public class ApnSetting implements Parcelable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return makeApnSetting(
|
return makeApnSetting(
|
||||||
cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers._ID)),
|
cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers._ID)),
|
||||||
cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.NUMERIC)),
|
cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.NUMERIC)),
|
||||||
cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.NAME)),
|
cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.NAME)),
|
||||||
cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.APN)),
|
cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.APN)),
|
||||||
cursor.getString(
|
cursor.getString(
|
||||||
cursor.getColumnIndexOrThrow(Telephony.Carriers.PROXY)),
|
cursor.getColumnIndexOrThrow(Telephony.Carriers.PROXY)),
|
||||||
portFromString(cursor.getString(
|
portFromString(cursor.getString(
|
||||||
cursor.getColumnIndexOrThrow(Telephony.Carriers.PORT))),
|
cursor.getColumnIndexOrThrow(Telephony.Carriers.PORT))),
|
||||||
UriFromString(cursor.getString(
|
UriFromString(cursor.getString(
|
||||||
cursor.getColumnIndexOrThrow(Telephony.Carriers.MMSC))),
|
cursor.getColumnIndexOrThrow(Telephony.Carriers.MMSC))),
|
||||||
cursor.getString(
|
cursor.getString(
|
||||||
cursor.getColumnIndexOrThrow(Telephony.Carriers.MMSPROXY)),
|
cursor.getColumnIndexOrThrow(Telephony.Carriers.MMSPROXY)),
|
||||||
portFromString(cursor.getString(
|
portFromString(cursor.getString(
|
||||||
cursor.getColumnIndexOrThrow(Telephony.Carriers.MMSPORT))),
|
cursor.getColumnIndexOrThrow(Telephony.Carriers.MMSPORT))),
|
||||||
cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.USER)),
|
cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.USER)),
|
||||||
cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.PASSWORD)),
|
cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.PASSWORD)),
|
||||||
cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers.AUTH_TYPE)),
|
cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers.AUTH_TYPE)),
|
||||||
apnTypesBitmask,
|
apnTypesBitmask,
|
||||||
getProtocolIntFromString(
|
getProtocolIntFromString(
|
||||||
cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.PROTOCOL))),
|
cursor.getString(cursor.getColumnIndexOrThrow(Telephony.Carriers.PROTOCOL))),
|
||||||
getProtocolIntFromString(
|
getProtocolIntFromString(
|
||||||
|
cursor.getString(cursor.getColumnIndexOrThrow(
|
||||||
|
Telephony.Carriers.ROAMING_PROTOCOL))),
|
||||||
|
cursor.getInt(cursor.getColumnIndexOrThrow(
|
||||||
|
Telephony.Carriers.CARRIER_ENABLED)) == 1,
|
||||||
|
networkTypeBitmask,
|
||||||
|
cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers.PROFILE_ID)),
|
||||||
|
cursor.getInt(cursor.getColumnIndexOrThrow(
|
||||||
|
Telephony.Carriers.MODEM_COGNITIVE)) == 1,
|
||||||
|
cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers.MAX_CONNS)),
|
||||||
|
cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers.WAIT_TIME)),
|
||||||
|
cursor.getInt(cursor.getColumnIndexOrThrow(
|
||||||
|
Telephony.Carriers.MAX_CONNS_TIME)),
|
||||||
|
cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers.MTU)),
|
||||||
|
getMvnoTypeIntFromString(
|
||||||
|
cursor.getString(cursor.getColumnIndexOrThrow(
|
||||||
|
Telephony.Carriers.MVNO_TYPE))),
|
||||||
cursor.getString(cursor.getColumnIndexOrThrow(
|
cursor.getString(cursor.getColumnIndexOrThrow(
|
||||||
Telephony.Carriers.ROAMING_PROTOCOL))),
|
Telephony.Carriers.MVNO_MATCH_DATA)),
|
||||||
cursor.getInt(cursor.getColumnIndexOrThrow(
|
cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers.APN_SET_ID)));
|
||||||
Telephony.Carriers.CARRIER_ENABLED)) == 1,
|
|
||||||
networkTypeBitmask,
|
|
||||||
cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers.PROFILE_ID)),
|
|
||||||
cursor.getInt(cursor.getColumnIndexOrThrow(
|
|
||||||
Telephony.Carriers.MODEM_COGNITIVE)) == 1,
|
|
||||||
cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers.MAX_CONNS)),
|
|
||||||
cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers.WAIT_TIME)),
|
|
||||||
cursor.getInt(cursor.getColumnIndexOrThrow(
|
|
||||||
Telephony.Carriers.MAX_CONNS_TIME)),
|
|
||||||
cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers.MTU)),
|
|
||||||
getMvnoTypeIntFromString(
|
|
||||||
cursor.getString(cursor.getColumnIndexOrThrow(
|
|
||||||
Telephony.Carriers.MVNO_TYPE))),
|
|
||||||
cursor.getString(cursor.getColumnIndexOrThrow(
|
|
||||||
Telephony.Carriers.MVNO_MATCH_DATA)),
|
|
||||||
cursor.getInt(cursor.getColumnIndexOrThrow(Telephony.Carriers.APN_SET_ID)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
public static ApnSetting makeApnSetting(ApnSetting apn) {
|
public static ApnSetting makeApnSetting(ApnSetting apn) {
|
||||||
return makeApnSetting(apn.mId, apn.mOperatorNumeric, apn.mEntryName, apn.mApnName,
|
return makeApnSetting(apn.mId, apn.mOperatorNumeric, apn.mEntryName, apn.mApnName,
|
||||||
apn.mProxyAddress, apn.mProxyPort, apn.mMmsc, apn.mMmsProxyAddress,
|
apn.mProxyAddress, apn.mProxyPort, apn.mMmsc, apn.mMmsProxyAddress,
|
||||||
apn.mMmsProxyPort, apn.mUser, apn.mPassword, apn.mAuthType, apn.mApnTypeBitmask,
|
apn.mMmsProxyPort, apn.mUser, apn.mPassword, apn.mAuthType, apn.mApnTypeBitmask,
|
||||||
apn.mProtocol, apn.mRoamingProtocol, apn.mCarrierEnabled, apn.mNetworkTypeBitmask,
|
apn.mProtocol, apn.mRoamingProtocol, apn.mCarrierEnabled, apn.mNetworkTypeBitmask,
|
||||||
apn.mProfileId, apn.mModemCognitive, apn.mMaxConns, apn.mWaitTime,
|
apn.mProfileId, apn.mModemCognitive, apn.mMaxConns, apn.mWaitTime,
|
||||||
apn.mMaxConnsTime, apn.mMtu, apn.mMvnoType, apn.mMvnoMatchData, apn.mApnSetId);
|
apn.mMaxConnsTime, apn.mMtu, apn.mMvnoType, apn.mMvnoMatchData, apn.mApnSetId);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -931,16 +931,16 @@ public class ApnSetting implements Parcelable {
|
|||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.append("[ApnSettingV5] ")
|
sb.append("[ApnSettingV5] ")
|
||||||
.append(mEntryName)
|
.append(mEntryName)
|
||||||
.append(", ").append(mId)
|
.append(", ").append(mId)
|
||||||
.append(", ").append(mOperatorNumeric)
|
.append(", ").append(mOperatorNumeric)
|
||||||
.append(", ").append(mApnName)
|
.append(", ").append(mApnName)
|
||||||
.append(", ").append(mProxyAddress)
|
.append(", ").append(mProxyAddress)
|
||||||
.append(", ").append(UriToString(mMmsc))
|
.append(", ").append(UriToString(mMmsc))
|
||||||
.append(", ").append(mMmsProxyAddress)
|
.append(", ").append(mMmsProxyAddress)
|
||||||
.append(", ").append(portToString(mMmsProxyPort))
|
.append(", ").append(portToString(mMmsProxyPort))
|
||||||
.append(", ").append(portToString(mProxyPort))
|
.append(", ").append(portToString(mProxyPort))
|
||||||
.append(", ").append(mAuthType).append(", ");
|
.append(", ").append(mAuthType).append(", ");
|
||||||
final String[] types = getApnTypesStringFromBitmask(mApnTypeBitmask).split(",");
|
final String[] types = getApnTypesStringFromBitmask(mApnTypeBitmask).split(",");
|
||||||
sb.append(TextUtils.join(" | ", types));
|
sb.append(TextUtils.join(" | ", types));
|
||||||
sb.append(", ").append(PROTOCOL_INT_MAP.get(mProtocol));
|
sb.append(", ").append(PROTOCOL_INT_MAP.get(mProtocol));
|
||||||
@@ -1022,31 +1022,31 @@ public class ApnSetting implements Parcelable {
|
|||||||
ApnSetting other = (ApnSetting) o;
|
ApnSetting other = (ApnSetting) o;
|
||||||
|
|
||||||
return mEntryName.equals(other.mEntryName)
|
return mEntryName.equals(other.mEntryName)
|
||||||
&& Objects.equals(mId, other.mId)
|
&& Objects.equals(mId, other.mId)
|
||||||
&& Objects.equals(mOperatorNumeric, other.mOperatorNumeric)
|
&& Objects.equals(mOperatorNumeric, other.mOperatorNumeric)
|
||||||
&& Objects.equals(mApnName, other.mApnName)
|
&& Objects.equals(mApnName, other.mApnName)
|
||||||
&& Objects.equals(mProxyAddress, other.mProxyAddress)
|
&& Objects.equals(mProxyAddress, other.mProxyAddress)
|
||||||
&& Objects.equals(mMmsc, other.mMmsc)
|
&& Objects.equals(mMmsc, other.mMmsc)
|
||||||
&& Objects.equals(mMmsProxyAddress, other.mMmsProxyAddress)
|
&& Objects.equals(mMmsProxyAddress, other.mMmsProxyAddress)
|
||||||
&& Objects.equals(mMmsProxyPort, other.mMmsProxyPort)
|
&& Objects.equals(mMmsProxyPort, other.mMmsProxyPort)
|
||||||
&& Objects.equals(mProxyPort, other.mProxyPort)
|
&& Objects.equals(mProxyPort,other.mProxyPort)
|
||||||
&& Objects.equals(mUser, other.mUser)
|
&& Objects.equals(mUser, other.mUser)
|
||||||
&& Objects.equals(mPassword, other.mPassword)
|
&& Objects.equals(mPassword, other.mPassword)
|
||||||
&& Objects.equals(mAuthType, other.mAuthType)
|
&& Objects.equals(mAuthType, other.mAuthType)
|
||||||
&& Objects.equals(mApnTypeBitmask, other.mApnTypeBitmask)
|
&& Objects.equals(mApnTypeBitmask, other.mApnTypeBitmask)
|
||||||
&& Objects.equals(mProtocol, other.mProtocol)
|
&& Objects.equals(mProtocol, other.mProtocol)
|
||||||
&& Objects.equals(mRoamingProtocol, other.mRoamingProtocol)
|
&& Objects.equals(mRoamingProtocol, other.mRoamingProtocol)
|
||||||
&& Objects.equals(mCarrierEnabled, other.mCarrierEnabled)
|
&& Objects.equals(mCarrierEnabled, other.mCarrierEnabled)
|
||||||
&& Objects.equals(mProfileId, other.mProfileId)
|
&& Objects.equals(mProfileId, other.mProfileId)
|
||||||
&& Objects.equals(mModemCognitive, other.mModemCognitive)
|
&& Objects.equals(mModemCognitive, other.mModemCognitive)
|
||||||
&& Objects.equals(mMaxConns, other.mMaxConns)
|
&& Objects.equals(mMaxConns, other.mMaxConns)
|
||||||
&& Objects.equals(mWaitTime, other.mWaitTime)
|
&& Objects.equals(mWaitTime, other.mWaitTime)
|
||||||
&& Objects.equals(mMaxConnsTime, other.mMaxConnsTime)
|
&& Objects.equals(mMaxConnsTime, other.mMaxConnsTime)
|
||||||
&& Objects.equals(mMtu, other.mMtu)
|
&& Objects.equals(mMtu, other.mMtu)
|
||||||
&& Objects.equals(mMvnoType, other.mMvnoType)
|
&& Objects.equals(mMvnoType, other.mMvnoType)
|
||||||
&& Objects.equals(mMvnoMatchData, other.mMvnoMatchData)
|
&& Objects.equals(mMvnoMatchData, other.mMvnoMatchData)
|
||||||
&& Objects.equals(mNetworkTypeBitmask, other.mNetworkTypeBitmask)
|
&& Objects.equals(mNetworkTypeBitmask, other.mNetworkTypeBitmask)
|
||||||
&& Objects.equals(mApnSetId, other.mApnSetId);
|
&& Objects.equals(mApnSetId, other.mApnSetId);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1069,29 +1069,29 @@ public class ApnSetting implements Parcelable {
|
|||||||
ApnSetting other = (ApnSetting) o;
|
ApnSetting other = (ApnSetting) o;
|
||||||
|
|
||||||
return mEntryName.equals(other.mEntryName)
|
return mEntryName.equals(other.mEntryName)
|
||||||
&& Objects.equals(mOperatorNumeric, other.mOperatorNumeric)
|
&& Objects.equals(mOperatorNumeric, other.mOperatorNumeric)
|
||||||
&& Objects.equals(mApnName, other.mApnName)
|
&& Objects.equals(mApnName, other.mApnName)
|
||||||
&& Objects.equals(mProxyAddress, other.mProxyAddress)
|
&& Objects.equals(mProxyAddress, other.mProxyAddress)
|
||||||
&& Objects.equals(mMmsc, other.mMmsc)
|
&& Objects.equals(mMmsc, other.mMmsc)
|
||||||
&& Objects.equals(mMmsProxyAddress, other.mMmsProxyAddress)
|
&& Objects.equals(mMmsProxyAddress, other.mMmsProxyAddress)
|
||||||
&& Objects.equals(mMmsProxyPort, other.mMmsProxyPort)
|
&& Objects.equals(mMmsProxyPort, other.mMmsProxyPort)
|
||||||
&& Objects.equals(mProxyPort, other.mProxyPort)
|
&& Objects.equals(mProxyPort, other.mProxyPort)
|
||||||
&& Objects.equals(mUser, other.mUser)
|
&& Objects.equals(mUser, other.mUser)
|
||||||
&& Objects.equals(mPassword, other.mPassword)
|
&& Objects.equals(mPassword, other.mPassword)
|
||||||
&& Objects.equals(mAuthType, other.mAuthType)
|
&& Objects.equals(mAuthType, other.mAuthType)
|
||||||
&& Objects.equals(mApnTypeBitmask, other.mApnTypeBitmask)
|
&& Objects.equals(mApnTypeBitmask, other.mApnTypeBitmask)
|
||||||
&& (isDataRoaming || Objects.equals(mProtocol, other.mProtocol))
|
&& (isDataRoaming || Objects.equals(mProtocol,other.mProtocol))
|
||||||
&& (!isDataRoaming || Objects.equals(mRoamingProtocol, other.mRoamingProtocol))
|
&& (!isDataRoaming || Objects.equals(mRoamingProtocol, other.mRoamingProtocol))
|
||||||
&& Objects.equals(mCarrierEnabled, other.mCarrierEnabled)
|
&& Objects.equals(mCarrierEnabled, other.mCarrierEnabled)
|
||||||
&& Objects.equals(mProfileId, other.mProfileId)
|
&& Objects.equals(mProfileId, other.mProfileId)
|
||||||
&& Objects.equals(mModemCognitive, other.mModemCognitive)
|
&& Objects.equals(mModemCognitive, other.mModemCognitive)
|
||||||
&& Objects.equals(mMaxConns, other.mMaxConns)
|
&& Objects.equals(mMaxConns, other.mMaxConns)
|
||||||
&& Objects.equals(mWaitTime, other.mWaitTime)
|
&& Objects.equals(mWaitTime, other.mWaitTime)
|
||||||
&& Objects.equals(mMaxConnsTime, other.mMaxConnsTime)
|
&& Objects.equals(mMaxConnsTime, other.mMaxConnsTime)
|
||||||
&& Objects.equals(mMtu, other.mMtu)
|
&& Objects.equals(mMtu, other.mMtu)
|
||||||
&& Objects.equals(mMvnoType, other.mMvnoType)
|
&& Objects.equals(mMvnoType, other.mMvnoType)
|
||||||
&& Objects.equals(mMvnoMatchData, other.mMvnoMatchData)
|
&& Objects.equals(mMvnoMatchData, other.mMvnoMatchData)
|
||||||
&& Objects.equals(mApnSetId, other.mApnSetId);
|
&& Objects.equals(mApnSetId, other.mApnSetId);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1103,22 +1103,22 @@ public class ApnSetting implements Parcelable {
|
|||||||
*/
|
*/
|
||||||
public boolean similar(ApnSetting other) {
|
public boolean similar(ApnSetting other) {
|
||||||
return (!this.canHandleType(TYPE_DUN)
|
return (!this.canHandleType(TYPE_DUN)
|
||||||
&& !other.canHandleType(TYPE_DUN)
|
&& !other.canHandleType(TYPE_DUN)
|
||||||
&& Objects.equals(this.mApnName, other.mApnName)
|
&& Objects.equals(this.mApnName, other.mApnName)
|
||||||
&& !typeSameAny(this, other)
|
&& !typeSameAny(this, other)
|
||||||
&& xorEquals(this.mProxyAddress, other.mProxyAddress)
|
&& xorEquals(this.mProxyAddress, other.mProxyAddress)
|
||||||
&& xorEqualsInt(this.mProxyPort, other.mProxyPort)
|
&& xorEqualsInt(this.mProxyPort, other.mProxyPort)
|
||||||
&& xorEquals(this.mProtocol, other.mProtocol)
|
&& xorEquals(this.mProtocol, other.mProtocol)
|
||||||
&& xorEquals(this.mRoamingProtocol, other.mRoamingProtocol)
|
&& xorEquals(this.mRoamingProtocol, other.mRoamingProtocol)
|
||||||
&& Objects.equals(this.mCarrierEnabled, other.mCarrierEnabled)
|
&& Objects.equals(this.mCarrierEnabled, other.mCarrierEnabled)
|
||||||
&& Objects.equals(this.mProfileId, other.mProfileId)
|
&& Objects.equals(this.mProfileId, other.mProfileId)
|
||||||
&& Objects.equals(this.mMvnoType, other.mMvnoType)
|
&& Objects.equals(this.mMvnoType, other.mMvnoType)
|
||||||
&& Objects.equals(this.mMvnoMatchData, other.mMvnoMatchData)
|
&& Objects.equals(this.mMvnoMatchData, other.mMvnoMatchData)
|
||||||
&& xorEquals(this.mMmsc, other.mMmsc)
|
&& xorEquals(this.mMmsc, other.mMmsc)
|
||||||
&& xorEquals(this.mMmsProxyAddress, other.mMmsProxyAddress)
|
&& xorEquals(this.mMmsProxyAddress, other.mMmsProxyAddress)
|
||||||
&& xorEqualsInt(this.mMmsProxyPort, other.mMmsProxyPort))
|
&& xorEqualsInt(this.mMmsProxyPort, other.mMmsProxyPort))
|
||||||
&& Objects.equals(this.mNetworkTypeBitmask, other.mNetworkTypeBitmask)
|
&& Objects.equals(this.mNetworkTypeBitmask, other.mNetworkTypeBitmask)
|
||||||
&& Objects.equals(mApnSetId, other.mApnSetId);
|
&& Objects.equals(mApnSetId, other.mApnSetId);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Equal or one is null.
|
// Equal or one is null.
|
||||||
@@ -1343,13 +1343,13 @@ public class ApnSetting implements Parcelable {
|
|||||||
new Parcelable.Creator<ApnSetting>() {
|
new Parcelable.Creator<ApnSetting>() {
|
||||||
@Override
|
@Override
|
||||||
public ApnSetting createFromParcel(Parcel in) {
|
public ApnSetting createFromParcel(Parcel in) {
|
||||||
return readFromParcel(in);
|
return readFromParcel(in);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ApnSetting[] newArray(int size) {
|
public ApnSetting[] newArray(int size) {
|
||||||
return new ApnSetting[size];
|
return new ApnSetting[size];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user