[Telephony]Fix:Duplicate set up data call request for same Apn credentials

- Avoid duplicate rmnet interface request in case of same APN
  credentials except ID, equals current data throttled profile
- Remove mID comparison from ApnSetting.equals().

Bug: 271734479
Test: atest FrameworkTelephonyTests
Change-Id: I2b9bf7a71aa827df6808dfc687bf18955c1a2c11
This commit is contained in:
Nagendra Prasad Nagarle Basavaraju
2023-03-28 06:36:42 +00:00
parent 6da109b395
commit 0bfced78d3

View File

@@ -1186,7 +1186,6 @@ public class ApnSetting implements Parcelable {
ApnSetting other = (ApnSetting) o;
return mEntryName.equals(other.mEntryName)
&& Objects.equals(mId, other.mId)
&& Objects.equals(mOperatorNumeric, other.mOperatorNumeric)
&& Objects.equals(mApnName, other.mApnName)
&& Objects.equals(mProxyAddress, other.mProxyAddress)