diff options
| author | 2024-04-26 16:30:29 -0700 | |
|---|---|---|
| committer | 2024-05-01 16:37:47 +0000 | |
| commit | 0356befc71e00d4070a5b6ae82f7d4f878d294c1 (patch) | |
| tree | e8535bd1196215c52cab969e8620c0e8e76163ea /libs/androidfw/StringPool.cpp | |
| parent | 71e9852963a3352b19b735b9065c2df31b4727bb (diff) | |
Return a null VCN when the dependencies aren't met
Update the check to return a null for the VcnManager
when the dependencies aren't met.
1) For compat reasons, always return a nonnull VcnManager
to apps targeting a pre-V SDK.
2) For devices that have pre-V feature flags, return null only
if FEATURE_TELEPHONY is null.
3) For V+ feature flagged devices, instead check
FEATURE_TELEPHONY_SUBSCRIPTION.
Bug: 334750038
Test: atest CtsVcnTestCases
Change-Id: I116095bcb2203f8e684e7b735bfe414d6dd459e2
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions