Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
certification: Initial import
Browse files Browse the repository at this point in the history
Change-Id: Ifdae8ace63975187b6db802d3e158b58f8aafb09
  • Loading branch information
someone5678 committed Dec 1, 2023
1 parent ec3a377 commit 1e7a483
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CertificationOverlay/Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
runtime_resource_overlay {
name: "CertificationOverlay",
theme: "CertificationOverlay",
certificate: "platform",
sdk_version: "current",
product_specific: true
}
6 changes: 6 additions & 0 deletions CertificationOverlay/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.certification.overlay">
<overlay android:isStatic="true" android:priority="0" android:targetName="CertificationOverlay" android:targetPackage="android"/>

<application android:hasCode="false" android:label="CertificationOverlay"/>
</manifest>
15 changes: 15 additions & 0 deletions CertificationOverlay/res/values/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Build properties from a GMS certified device -->
<string-array name="config_certifiedBuildProperties" translatable="false">
<item>NVIDIA</item> <!-- Build.BRAND -->
<item>NVIDIA</item> <!-- Build.MANUFACTURER -->
<item></item> <!-- Build.ID -->
<item>foster</item> <!-- Build.DEVICE -->
<item>foster_e</item> <!-- Build.PRODUCT -->
<item>SHIELD Android TV</item> <!-- Build.MODEL -->
<item>NVIDIA/foster_e/foster:7.0/NRD90M/2427173_1038.2788:user/release-keys</item> <!-- Build.FINGERPRINT -->
<item></item> <!-- Build.TYPE -->
<item></item> <!-- Build.TAGS -->
</string-array>
</resources>
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### Build the service

Add inherit on your vendor:

```makefile
$(call inherit-product-if-exists, vendor/certification/config.mk)
```
3 changes: 3 additions & 0 deletions config.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# RRO Overlays
PRODUCT_PACKAGES += \
CertificationOverlay

0 comments on commit 1e7a483

Please sign in to comment.