Merge "Add TEST_NETWORK_SERVICE to module API" am: 7e26e33269
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1629260 Change-Id: I78e28855dce5b38785ec60bf1c5489ebf2b98ded
This commit is contained in:
@@ -22,6 +22,10 @@ package android.app.usage {
|
||||
|
||||
package android.content {
|
||||
|
||||
public abstract class Context {
|
||||
field public static final String TEST_NETWORK_SERVICE = "test_network";
|
||||
}
|
||||
|
||||
public class Intent implements java.lang.Cloneable android.os.Parcelable {
|
||||
field public static final String ACTION_CLEAR_DNS_CACHE = "android.intent.action.CLEAR_DNS_CACHE";
|
||||
}
|
||||
|
||||
@@ -4099,7 +4099,8 @@ public abstract class Context {
|
||||
* @see #getSystemService(String)
|
||||
* @hide
|
||||
*/
|
||||
@TestApi public static final String TEST_NETWORK_SERVICE = "test_network";
|
||||
@TestApi @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
|
||||
public static final String TEST_NETWORK_SERVICE = "test_network";
|
||||
|
||||
/**
|
||||
* Use with {@link #getSystemService(String)} to retrieve a {@link
|
||||
|
||||
Reference in New Issue
Block a user