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

Commit 1b8b3892 authored by Jack Yu's avatar Jack Yu
Browse files

Added CTS test cases for getNetworkId() and getSystemId()

Bug: 32718590
Test: atest CtsTelephonyTestCases:ServiceStateTest#testServiceState
Change-Id: I5826a59d85028f0350ee39c69553f4e488d6456b
parent cb77b79f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -720,6 +720,10 @@ package android.telephony {
    field public static final java.lang.String MBMS_STREAMING_SERVICE_OVERRIDE_METADATA = "mbms-streaming-service-override";
  }

  public class ServiceState implements android.os.Parcelable {
    method public void setSystemAndNetworkId(int, int);
  }

}

package android.telephony.mbms {
+2 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package android.telephony;
import android.annotation.IntDef;
import android.annotation.Nullable;
import android.annotation.SystemApi;
import android.annotation.TestApi;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
@@ -1214,6 +1215,7 @@ public class ServiceState implements Parcelable {
    }

    /** @hide */
    @TestApi
    public void setSystemAndNetworkId(int systemId, int networkId) {
        this.mSystemId = systemId;
        this.mNetworkId = networkId;