CertifiedPropOverlay

This commit is contained in:
做最好的自己 2025-03-15 12:06:27 +08:00
parent 04f549a084
commit b11143026d
4 changed files with 77 additions and 1 deletions

View File

@ -0,0 +1,24 @@
//
// Copyright (c) 2020,2022 The LineageOS Project
//
// 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.
//
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
runtime_resource_overlay {
name: "CertifiedPropOverlay",
system_ext_specific: true,
}

View File

@ -0,0 +1,20 @@
<!--
Copyright (c) 2020, The LineageOS Project
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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.certified.props.overlay">
<application android:hasCode="false"/>
<overlay android:targetPackage="android"/>
</manifest>

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2023 Paranoid Android
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Build properties from a GMS certified device against current platform SPL level -->
<string-array name="config_certifiedBuildProperties" translatable="false">
<!--
Each entry must be of the format
FIELD:value
with the field belonging to android.os.Build or android.os.Build.VERSION class.
Example:
<item>BRAND:foo</item>
<item>DEVICE:bar</item>
<item>FINGERPRINT:foo/bar/bar:1.0/lorem/ipsum:dolor/sit-amet</item>
<item>VERSION.RELEASE:1.0</item>
-->
<item>PRODUCT:oriole_beta</item>
<item>DEVICE:oriole</item>
<item>MANUFACTURER:Google</item>
<item>BRAND:google</item>
<item>MODEL:Pixel 6</item>
<item>ID:BP22.250124.009</item>
<item>VERSION.RELEASE:Baklava</item>
<item>VERSION.INCREMENTAL:13034193</item>
<item>FINGERPRINT:google/oriole_beta/oriole:Baklava/BP22.250124.009/13034193:user/release-keys</item>
<item>VERSION.SECURITY_PATCH:2025-02-05</item>
<item>VERSION.DEVICE_INITIAL_SDK_INT:21</item>
</string-array>
</resources>

View File

@ -1,3 +1,4 @@
PRODUCT_PACKAGES += \
FontWenkaiOverlay \
FontWkmonoOverlay
FontWkmonoOverlay \
CertifiedPropOverlay