summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author chiachangwang <chiachangwang@google.com> 2023-05-30 02:34:10 +0000
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-05-30 06:49:52 +0000
commite0da29095c9f1d3ef953190bb72bc0b571ae8e60 (patch)
treeec0168418b76b1736c4fdb54cfb338fc42fddec7 /libs/androidfw/StringPool.cpp
parent878b61b06329ecfa4a0f1367dbbe9c968b1c3930 (diff)
Update the java doc to match the behavior
The javadoc of getProvisionedVpnProfileState only describes the VpnProfileState will be null if if there was no profile provisioned by the calling package. The implementation requires the VPN profile being prepared so that the owner UID and package name are well set up. Design is either changed to refer only the package name information and check provisioned VPN profile from VPN profile store, or correct the javadoc. In practice, a VPN app that provision a VPN profile without starting it should know the VPN status which is disconnected. The API should be useful after starting the VPN profile. Update the doc to match the behavior. Bug: 280021394 Test: m (cherry picked from https://android-review.googlesource.com/q/commit:5bca5c2f0384e36e59f8a6ea433831d99ede4e69) Merged-In: I80322ff296661972a442d799812751d5411b665b Change-Id: I80322ff296661972a442d799812751d5411b665b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions