diff options
author | paulhu <paulhu@google.com> | 2021-01-06 12:00:29 +0800 |
---|---|---|
committer | paulhu <paulhu@google.com> | 2021-01-22 15:30:07 +0800 |
commit | 69f79b0aca1d4ce91db9675e9b8c3fe659998938 (patch) | |
tree | 416ed2fb86a902ef65c990dd4189ee9a124dc9e7 /core/api/module-lib-current.txt | |
parent | b380466d295c90baf29478cc8b241a354a98e42b (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.txt | 4 |
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(); } |