summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Yan Yan <evitayan@google.com> 2024-04-16 23:30:21 +0000
committer Yan Yan <evitayan@google.com> 2024-04-17 18:36:32 +0000
commit0346207e750a5fbee34ca47154b27d324a046fc5 (patch)
tree91346bc8cfce492737553201d80c68d364b3c5b2 /libs/androidfw/AssetsProvider.cpp
parent52bd4f135acdb36fbc7f3a4402bb29416e3ba06c (diff)
Check the existence of IpSecTransformState API with try catch
IpSecTransformState is a new API that exposed from a mainline module. Ideally before SDK finalization, platform should check the API flag com.android.net.flags.ipsec_transform_state before calling the API. However the flag is defined in mainline module is not accessible from the platform. Thus previously a placeholder flag was used. This patch removes the usage of the placeholder flag. Instead the code will check the availability of the API with a try catch block Bug: 328844044 Test: atest FrameworksVcnTests && atest CtsVcnTestCases Flag: NONE mainline API flag not accessible; using try catch block to gate the behavior Change-Id: Ibbcb14817a6d714cdc99cf0894f1fc935a602a2c
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions