summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Vladimir Komsiyski <vladokom@google.com> 2024-03-06 15:44:25 +0100
committer Vladimir Komsiyski <vladokom@google.com> 2024-06-27 09:46:22 +0000
commit9892548d2a69ce8477d4e38e75608bc97ad6d55f (patch)
tree650befb98327ea5535fb28ad85d5bc359deb8c86 /libs/androidfw/StringPool.cpp
parent9962f0204bf0eb768c169c51d6a31372a574f9eb (diff)
Support CDM-less virtual devices.
- New VDMInternal#createVirtualDevice, which creates a VD with CDM association id = 0 and display name from the params. The name is required in this case (it's optional otherwise) - The VD is fully functional, it just doesn't have a persistent id. - The VD is also visible via the public VDM APIs. This is by design, because if any activity ever runs on such device its deviceId will not be the default one and the app must be able to get to that VirtualDevice and its capabilities. - Never assume that VirtualDeviceImpl#mAssociationInfo is not null Not testable in CTS and not really flaggable. A flag disabling the new functionality will effectively crash system server when off. Fix: 341060398 Test: manual Flag: EXEMPT behavioural change Change-Id: I65eca165362b0ef819d55b743de8a7780646c26e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions