diff options
| author | 2022-05-25 16:12:35 +0200 | |
|---|---|---|
| committer | 2024-05-16 16:05:03 +0200 | |
| commit | efa61bef662a31106dc1d10dfa28c53f950c028d (patch) | |
| tree | 50db2ce0e00954e8d24130bd81a4e60f48f364a1 /libs/androidfw/misc.cpp | |
| parent | ca3da5d19c2bf7529b289b3e1da3ed45a7db657e (diff) | |
Support properties in path when merging overlay configs
Make it possible to use read only properties in the path when merging
an overlay config.
One of the usecases is to support switching overlays depending on SKU.
Example:
<config>
<overlay package="..." enabled="true" mutable="false" />
<merge path="${ro.my.prop}/config.xml" />
<merge path="skus/${ro.my.prop}.xml" />
<overlay package="..." enabled="true" mutable="false" />
</config>
Bug: 223913150
Test: atest OverlayConfigTest OverlayConfigParserTest
Change-Id: Ic9e460e5064a9601e713b3959a66a80bdf78734a
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions