dre: Create standalone RRO for OplusDoze
Change-Id: Ic59cae6c8db3b0b051365692bf1edc5e6efee3c7
This commit is contained in:
parent
73379e9552
commit
ff2ea73ddf
4 changed files with 23 additions and 2 deletions
9
overlay/OplusDozeResTarget/Android.bp
Normal file
9
overlay/OplusDozeResTarget/Android.bp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "OplusDozeResTarget",
|
||||
system_ext_specific: true,
|
||||
}
|
||||
11
overlay/OplusDozeResTarget/AndroidManifest.xml
Normal file
11
overlay/OplusDozeResTarget/AndroidManifest.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.lineageos.settings.doze.overlay">
|
||||
<overlay android:targetPackage="org.lineageos.settings.doze"
|
||||
android:isStatic="true"
|
||||
android:priority="300" />
|
||||
</manifest>
|
||||
12
overlay/OplusDozeResTarget/res/values/config.xml
Normal file
12
overlay/OplusDozeResTarget/res/values/config.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<!-- Sensor types -->
|
||||
<string name="pickup_sensor_type">android.sensor.tilt_detector</string>
|
||||
|
||||
<!-- Sensor trigger values -->
|
||||
<item name="pickup_sensor_value" format="float" type="dimen">0.0</item>
|
||||
</resources>
|
||||
Loading…
Reference in a new issue