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

Commit a210974d authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "upperLayerIndicator_r15 is optional, nr state design changed" into...

Merge "upperLayerIndicator_r15 is optional, nr state design changed" into rvc-dev am: 6e6e2330 am: fbb59c06 am: fb65e142 am: 3d186261

Change-Id: I266287d31dbd2c1b249a56b87f99daa68876ea48
parents b2a68e2a 3d186261
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -297,7 +297,7 @@ public final class NetworkRegistrationInfo implements Parcelable {
        mDataSpecificInfo = new DataSpecificRegistrationInfo(
                maxDataCalls, isDcNrRestricted, isNrAvailable, isEndcAvailable, lteVopsSupportInfo,
                isUsingCarrierAggregation);
        updateNrState(mDataSpecificInfo);
        updateNrState();
    }

    private NetworkRegistrationInfo(Parcel source) {
@@ -686,12 +686,12 @@ public final class NetworkRegistrationInfo implements Parcelable {
     * DCNR is not restricted and NR is supported by the selected PLMN. Otherwise the use of 5G
     * NR is restricted.
     *
     * @param state data specific registration state contains the 5G NR indicators.
     * @hide
     */
    private void updateNrState(DataSpecificRegistrationInfo state) {
    public void updateNrState() {
        mNrState = NR_STATE_NONE;
        if (state.isEnDcAvailable) {
            if (!state.isDcNrRestricted && state.isNrAvailable) {
        if (mDataSpecificInfo.isEnDcAvailable) {
            if (!mDataSpecificInfo.isDcNrRestricted && mDataSpecificInfo.isNrAvailable) {
                mNrState = NR_STATE_NOT_RESTRICTED;
            } else {
                mNrState = NR_STATE_RESTRICTED;