Add common RRO overlay to enable AOSP camera launch gesture
Change-Id: Ia2e124beb01f8be7625e894df1e28289a4cb4110
This commit is contained in:
parent
2e86ad1f91
commit
5653c1c489
11
overlay/Android.bp
Normal file
11
overlay/Android.bp
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
//
|
||||||
|
// Copyright (C) 2022 The LineageOS Project
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
phony {
|
||||||
|
name: "MotoCommonOverlay",
|
||||||
|
required: [
|
||||||
|
"FrameworksResMotoCommon",
|
||||||
|
]
|
||||||
|
}
|
10
overlay/MotoFrameworksResTarget/Android.bp
Normal file
10
overlay/MotoFrameworksResTarget/Android.bp
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
//
|
||||||
|
// Copyright (C) 2022 The LineageOS Project
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
runtime_resource_overlay {
|
||||||
|
name: "FrameworksResMotoCommon",
|
||||||
|
sdk_version: "current",
|
||||||
|
vendor: true
|
||||||
|
}
|
9
overlay/MotoFrameworksResTarget/AndroidManifest.xml
Normal file
9
overlay/MotoFrameworksResTarget/AndroidManifest.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2022 The LineageOS Project
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="android.overlay.moto.common">
|
||||||
|
<overlay android:targetPackage="android" android:isStatic="true" android:priority="500"/>
|
||||||
|
</manifest>
|
12
overlay/MotoFrameworksResTarget/res/values/config.xml
Normal file
12
overlay/MotoFrameworksResTarget/res/values/config.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2022 The LineageOS Project
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
<resources>
|
||||||
|
<!-- The OEM specified sensor type for the gesture to launch the camera app. -->
|
||||||
|
<integer name="config_cameraLaunchGestureSensorType">65540</integer>
|
||||||
|
<!-- The OEM specified sensor string type for the gesture to launch camera app, this value
|
||||||
|
must match the value of config_cameraLaunchGestureSensorType in OEM's HAL -->
|
||||||
|
<string translatable="false" name="config_cameraLaunchGestureSensorStringType">com.motorola.sensor.camera_activate</string>
|
||||||
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user