summaryrefslogtreecommitdiff
path: root/core/api/module-lib-current.txt
diff options
context:
space:
mode:
authorpaulhu <paulhu@google.com>2021-01-06 12:00:29 +0800
committerpaulhu <paulhu@google.com>2021-01-22 15:30:07 +0800
commit69f79b0aca1d4ce91db9675e9b8c3fe659998938 (patch)
tree416ed2fb86a902ef65c990dd4189ee9a124dc9e7 /core/api/module-lib-current.txt
parentb380466d295c90baf29478cc8b241a354a98e42b (diff)
Expose Build.VERSION.FIRST_SDK_INT as module-lib API
Connectivity service is going to become a mainline module which will not be able to access hidden APIs. But PermissionMonitor needs know Build.VERSION.FIRST_SDK_INT for granting network restricted permission to system packages. Thus, expose the value as module-lib API to support the usage. Bug: 170598012 Test: make update-api Change-Id: Id0ae42120f69faee43eeb7ebd35cae9e26cb7561
Diffstat (limited to 'core/api/module-lib-current.txt')
-rw-r--r--core/api/module-lib-current.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/api/module-lib-current.txt b/core/api/module-lib-current.txt
index 9349770ee4fd..45fa813098ac 100644
--- a/core/api/module-lib-current.txt
+++ b/core/api/module-lib-current.txt
@@ -28,6 +28,10 @@ package android.os {
method public final void markVintfStability();
}
+ public static class Build.VERSION {
+ field public static final int FIRST_SDK_INT;
+ }
+
public interface Parcelable {
method public default int getStability();
}