OSDN Git Service

Make setServiceId a TestApi
authorHall Liu <hallliu@google.com>
Tue, 10 Apr 2018 21:04:12 +0000 (14:04 -0700)
committerHall Liu <hallliu@google.com>
Thu, 12 Apr 2018 01:23:30 +0000 (18:23 -0700)
Bug: 77152869
Test: CTS
Change-Id: I26f60b48865953971de02c50db48e0ff66f4e2a0
Merged-In: I26f60b48865953971de02c50db48e0ff66f4e2a0

api/test-current.txt
telephony/java/android/telephony/mbms/DownloadRequest.java

index ce6810f..8ef12b4 100644 (file)
@@ -444,6 +444,10 @@ package android.telephony {
 
 package android.telephony.mbms {
 
+  public static class DownloadRequest.Builder {
+    method public android.telephony.mbms.DownloadRequest.Builder setServiceId(java.lang.String);
+  }
+
   public final class FileInfo implements android.os.Parcelable {
     ctor public FileInfo(android.net.Uri, java.lang.String);
   }
index 602c796..9e3302b 100644 (file)
@@ -18,6 +18,7 @@ package android.telephony.mbms;
 
 import android.annotation.NonNull;
 import android.annotation.SystemApi;
+import android.annotation.TestApi;
 import android.content.Intent;
 import android.net.Uri;
 import android.os.Parcel;
@@ -184,6 +185,7 @@ public final class DownloadRequest implements Parcelable {
          * @hide
          */
         @SystemApi
+        @TestApi
         public Builder setServiceId(String serviceId) {
             fileServiceId = serviceId;
             return this;