xpeng: resource-overlay: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
This commit is contained in:
parent
2018e57b2b
commit
1d400f0e5a
4 changed files with 44 additions and 0 deletions
|
@ -29,6 +29,7 @@ $(call inherit-product, device/motorola/sm7325-common/sm7325.mk)
|
|||
# Overlays
|
||||
PRODUCT_PACKAGES += \
|
||||
FrameworksResXpeng \
|
||||
LineageApertureAppXpeng \
|
||||
LineagePlatformXpeng \
|
||||
LineageSystemUIXpeng \
|
||||
SettingsProviderResXpeng \
|
||||
|
|
9
resource-overlay/xpeng/LineageApertureApp/Android.bp
Normal file
9
resource-overlay/xpeng/LineageApertureApp/Android.bp
Normal file
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// Copyright (C) 2022-2023 The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "LineageApertureAppXpeng",
|
||||
vendor: true,
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022-2023 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.lineageos.aperture.xpeng.lineage">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="800"
|
||||
android:targetPackage="org.lineageos.aperture" />
|
||||
</manifest>
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<!-- Enable auxiliary cameras selector. -->
|
||||
<bool name="config_enableAuxCameras">true</bool>
|
||||
|
||||
<!-- List of ID of auxiliary cameras that must be ignored by the app. -->
|
||||
<!-- <string-array name="config_ignoredAuxCameraIds">
|
||||
<item>2</item>
|
||||
</string-array> -->
|
||||
<string-array name="config_ignoredAuxCameraIds">
|
||||
<item>2</item>
|
||||
<item>4</item>
|
||||
<item>5</item>
|
||||
<item>6</item>
|
||||
<item>7</item>
|
||||
</string-array>
|
||||
</resources>
|
Loading…
Reference in a new issue