diff options
author | Ethan Chen <intervigil@gmail.com> | 2020-09-10 22:00:17 -0700 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-05-02 09:56:20 +0800 |
commit | b07e75c37b40446289645961aac7c8bc23cf5eb2 (patch) | |
tree | 2ce8cb055330eb5c5f9c5ea895dcc28cc5cfd23a /core | |
parent | 693e3ed1302539128208cb98fa46a2f91f28b7ba (diff) |
PackageManager: Add configuration to specify vendor platform signatures
Devices with split system/vendor images may want to use the OEM's vendor
image. In that case, the OEM's platform signature is not actually the
same as the platform signature used to sign the Lineage system image.
Allow devices to specify an OEM platform signature which will also be
recognized as the system's platform signature.
Change-Id: Ida9bb25a32234af9d9507a214eae6a4672320d2b
Diffstat (limited to 'core')
-rw-r--r-- | core/res/res/values/ice_config.xml | 21 | ||||
-rw-r--r-- | core/res/res/values/ice_symbols.xml | 19 |
2 files changed, 40 insertions, 0 deletions
diff --git a/core/res/res/values/ice_config.xml b/core/res/res/values/ice_config.xml new file mode 100644 index 000000000000..0dba9cbaeb9f --- /dev/null +++ b/core/res/res/values/ice_config.xml @@ -0,0 +1,21 @@ +<!-- + Copyright (C) 2022 Project ICE + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<resources> + <!-- The list of vendor package signatures that should also be considered + platform signatures, specifically for use on devices with a vendor partition. --> + <string-array name="config_vendorPlatformSignatures"> + </string-array> +</resources> diff --git a/core/res/res/values/ice_symbols.xml b/core/res/res/values/ice_symbols.xml new file mode 100644 index 000000000000..054e161f819b --- /dev/null +++ b/core/res/res/values/ice_symbols.xml @@ -0,0 +1,19 @@ +<!-- + Copyright (C) 2022 Project ICE + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<resources> + <!-- Vendor signatures --> + <java-symbol type="array" name="config_vendorPlatformSignatures" /> +</resources> |