Merge "Add GRilServiceOverlay RRO" into main
This commit is contained in:
commit
0b5c502125
5 changed files with 41 additions and 0 deletions
|
@ -225,6 +225,10 @@ PRODUCT_PACKAGES += \
|
||||||
WifiOverlay2024Mid_CT3 \
|
WifiOverlay2024Mid_CT3 \
|
||||||
PixelWifiOverlay2024
|
PixelWifiOverlay2024
|
||||||
|
|
||||||
|
# GRil Overlay
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
GRilServiceOverlay_CT3
|
||||||
|
|
||||||
# Graphics
|
# Graphics
|
||||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.set_idle_timer_ms_4619827677550801152=80
|
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.set_idle_timer_ms_4619827677550801152=80
|
||||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.support_kernel_idle_timer_4619827677550801152=true
|
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.support_kernel_idle_timer_4619827677550801152=true
|
||||||
|
|
17
rro_overlays/GRilServiceOverlay/Android.bp
Normal file
17
rro_overlays/GRilServiceOverlay/Android.bp
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
package {
|
||||||
|
// See: http://go/android-license-faq
|
||||||
|
// A large-scale-change added 'default_applicable_licenses' to import
|
||||||
|
// all of the 'license_kinds' from "//device/google/comet:device_google_comet_license"
|
||||||
|
// to get the below license kinds:
|
||||||
|
// SPDX-license-identifier-Apache-2.0
|
||||||
|
default_applicable_licenses: [
|
||||||
|
"//device/google/comet:device_google_comet_license",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
|
runtime_resource_overlay {
|
||||||
|
name: "GRilServiceOverlay_CT3",
|
||||||
|
theme: "GRilServiceOverlay_CT3",
|
||||||
|
sdk_version: "current",
|
||||||
|
product_specific: true
|
||||||
|
}
|
12
rro_overlays/GRilServiceOverlay/AndroidManifest.xml
Normal file
12
rro_overlays/GRilServiceOverlay/AndroidManifest.xml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="com.google.android.grilservice.overlay.comet"
|
||||||
|
android:versionCode="1"
|
||||||
|
android:versionName="1.0">
|
||||||
|
<application android:hasCode="false"/>
|
||||||
|
<overlay
|
||||||
|
android:targetPackage="com.google.android.grilservice"
|
||||||
|
android:targetName="GrilRadioCustomizable"
|
||||||
|
android:isStatic="true"
|
||||||
|
android:resourcesMap="@xml/overlays"
|
||||||
|
android:priority="0"/>
|
||||||
|
</manifest>
|
5
rro_overlays/GRilServiceOverlay/res/values/config.xml
Normal file
5
rro_overlays/GRilServiceOverlay/res/values/config.xml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<!-- Determines whether device support SAR with cap sensor -->
|
||||||
|
<bool translatable="true" name="cap_sensor_support">true</bool>
|
||||||
|
</resources>
|
3
rro_overlays/GRilServiceOverlay/res/xml/overlays.xml
Normal file
3
rro_overlays/GRilServiceOverlay/res/xml/overlays.xml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<overlay>
|
||||||
|
<item target="bool/cap_sensor_support" value="@bool/cap_sensor_support"/>
|
||||||
|
</overlay>
|
Loading…
Add table
Add a link
Reference in a new issue