From 31a8fa9332dc38435d4746321c8c9b26b27aa5a1 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Mon, 7 Nov 2022 17:49:42 +0200 Subject: [PATCH] sm8450-common: overlay: Enable multiple vibration strength levels support Change-Id: If17503f2dd4bd4d6e333891f9649a7db8d809852 --- common.mk | 1 + overlay/SettingsResXiaomi/Android.bp | 10 ++++++++ overlay/SettingsResXiaomi/AndroidManifest.xml | 10 ++++++++ .../SettingsResXiaomi/res/values/config.xml | 25 +++++++++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 overlay/SettingsResXiaomi/Android.bp create mode 100644 overlay/SettingsResXiaomi/AndroidManifest.xml create mode 100644 overlay/SettingsResXiaomi/res/values/config.xml diff --git a/common.mk b/common.mk index 2f2bd68..1963d70 100644 --- a/common.mk +++ b/common.mk @@ -291,6 +291,7 @@ PRODUCT_PACKAGES += \ FrameworksResTarget_Vendor \ FrameworksResXiaomi \ SettingsProviderResXiaomi \ + SettingsResXiaomi \ WifiResTarget \ WifiResTarget_spf diff --git a/overlay/SettingsResXiaomi/Android.bp b/overlay/SettingsResXiaomi/Android.bp new file mode 100644 index 0000000..b05acaa --- /dev/null +++ b/overlay/SettingsResXiaomi/Android.bp @@ -0,0 +1,10 @@ +// +// Copyright (C) 2023 The LineageOS Project +// +// SPDX-License-Identifier: Apache-2.0 +// + +runtime_resource_overlay { + name: "SettingsResXiaomi", + vendor: true, +} diff --git a/overlay/SettingsResXiaomi/AndroidManifest.xml b/overlay/SettingsResXiaomi/AndroidManifest.xml new file mode 100644 index 0000000..46e4169 --- /dev/null +++ b/overlay/SettingsResXiaomi/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + + diff --git a/overlay/SettingsResXiaomi/res/values/config.xml b/overlay/SettingsResXiaomi/res/values/config.xml new file mode 100644 index 0000000..139f6fd --- /dev/null +++ b/overlay/SettingsResXiaomi/res/values/config.xml @@ -0,0 +1,25 @@ + + + + + 3 +