summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Anton Hansson <hansson@google.com> 2020-02-07 19:07:06 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-02-07 19:07:06 +0000
commit1df0e2224f3cfb50a390d9abe4ec62cc31b0d13a (patch)
tree684448dcab2f6eba4717b3d81fecc48d7e9f692d
parent0dca705691ff2f4a9f3f3e32b4fa2a50e3bee4b3 (diff)
parent7d6704e4b07283b893b8ae07f7e92ad46a7f4187 (diff)
Merge "Add new class with APIs of varying visibility"
-rw-r--r--apex/sdkextensions/framework/java/android/os/ext/test/Test.java53
-rw-r--r--api/current.txt9
-rw-r--r--api/module-lib-current.txt8
-rwxr-xr-xapi/system-current.txt9
4 files changed, 79 insertions, 0 deletions
diff --git a/apex/sdkextensions/framework/java/android/os/ext/test/Test.java b/apex/sdkextensions/framework/java/android/os/ext/test/Test.java
new file mode 100644
index 000000000000..1715f498be1e
--- /dev/null
+++ b/apex/sdkextensions/framework/java/android/os/ext/test/Test.java
@@ -0,0 +1,53 @@
+/*
+ * Copyright (C) 2020 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package android.os.ext.test;
+
+import android.annotation.SystemApi;
+
+/**
+ * This class exists temporarily to verify SDK updates are working properly.
+ * @deprecated Do not use.
+ */
+@Deprecated
+public class Test {
+
+ public Test() { }
+
+ /** @hide */
+ public void testA() {}
+
+ /** @hide */
+ public void testB() {}
+
+ /** @hide */
+ public void testC() {}
+
+ /** @hide */
+ @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
+ public void testD() {}
+
+ public void testE() {}
+
+ /** @hide */
+ @SystemApi
+ public void testF() {}
+
+ /** @hide */
+ @SystemApi
+ public void testG() {}
+
+}
diff --git a/api/current.txt b/api/current.txt
index a53d444dec41..e3b557d8387c 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -37046,6 +37046,15 @@ package android.os {
}
+package android.os.ext.test {
+
+ @Deprecated public class Test {
+ ctor @Deprecated public Test();
+ method @Deprecated public void testE();
+ }
+
+}
+
package android.os.health {
public class HealthStats {
diff --git a/api/module-lib-current.txt b/api/module-lib-current.txt
index 8100b07c31e3..59aa145ce1e9 100644
--- a/api/module-lib-current.txt
+++ b/api/module-lib-current.txt
@@ -120,6 +120,14 @@ package android.net {
}
+package android.os.ext.test {
+
+ @Deprecated public class Test {
+ method @Deprecated public void testD();
+ }
+
+}
+
package android.util {
public final class Log {
diff --git a/api/system-current.txt b/api/system-current.txt
index 17eac7902d15..eaa7112d278e 100755
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -9146,6 +9146,15 @@ package android.os.ext {
}
+package android.os.ext.test {
+
+ @Deprecated public class Test {
+ method @Deprecated public void testF();
+ method @Deprecated public void testG();
+ }
+
+}
+
package android.os.image {
public class DynamicSystemClient {