berlin: Decommize hardware keys config
Signed-off-by: sb6596 <shubhamprince111@gmail.com> Change-Id: Ie3516b09356d05c2f5bcfbc12c7e2f1ed9b13977
This commit is contained in:
parent
a6f9c23d2e
commit
44d9a18236
@ -34,6 +34,7 @@ $(call inherit-product, device/motorola/sm7325-common/sm7325.mk)
|
||||
# Overlay
|
||||
PRODUCT_PACKAGES += \
|
||||
FrameworksResBerlin \
|
||||
LineageSystemUIBerlin \
|
||||
SystemUIResBerlin
|
||||
|
||||
# Audio
|
||||
|
9
resource-overlay/berlin/LineageSystemUI/Android.bp
Normal file
9
resource-overlay/berlin/LineageSystemUI/Android.bp
Normal file
@ -0,0 +1,9 @@
|
||||
//
|
||||
// Copyright (C) 2022 The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "LineageSystemUIBerlin",
|
||||
vendor: true,
|
||||
}
|
13
resource-overlay/berlin/LineageSystemUI/AndroidManifest.xml
Normal file
13
resource-overlay/berlin/LineageSystemUI/AndroidManifest.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?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="com.android.systemui.berlin.lineage">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="800"
|
||||
android:targetPackage="com.android.systemui" />
|
||||
</manifest>
|
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<!-- Hardware keys present on the device, stored as a bit field.
|
||||
This integer should equal the sum of the corresponding value for each
|
||||
of the following keys present:
|
||||
1 - Home
|
||||
2 - Back
|
||||
4 - Menu
|
||||
8 - Assistant (search)
|
||||
16 - App switch
|
||||
32 - Camera
|
||||
64 - Volume rocker
|
||||
For example, a device with Home, Back and Menu keys would set this
|
||||
config to 7. -->
|
||||
<integer name="config_deviceHardwareKeys">72</integer>
|
||||
|
||||
<!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
|
||||
This integer should equal the sum of the corresponding value for each
|
||||
of the following keys present:
|
||||
1 - Home
|
||||
2 - Back
|
||||
4 - Menu
|
||||
8 - Assistant (search)
|
||||
16 - App switch
|
||||
32 - Camera
|
||||
64 - Volume rocker
|
||||
For example, a device with Home, Back and Menu keys would set this
|
||||
config to 7. -->
|
||||
<integer name="config_deviceHardwareWakeKeys">72</integer>
|
||||
</resources>
|
Loading…
x
Reference in New Issue
Block a user