dubai: Set a default Settings.Global.DEVICE_NAME

Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
This commit is contained in:
LuK1337 2021-05-21 15:32:47 +02:00 committed by Nolen Johnson
parent 48b296c2c2
commit 4f2738dbdf
4 changed files with 25 additions and 0 deletions

View file

@ -38,6 +38,7 @@ $(call inherit-product, device/motorola/sm7325-common/sm7325.mk)
PRODUCT_PACKAGES += \
FrameworksResDubai \
LineageSystemUIDubai \
SettingsProviderResDubai \
SystemUIResDubai
# Audio

View file

@ -0,0 +1,5 @@
runtime_resource_overlay {
name: "SettingsProviderResDubai",
sdk_version: "current",
vendor: true
}

View file

@ -0,0 +1,10 @@
<?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"
coreApp="true"
package="com.android.providers.settings.overlay.dubai">
<overlay android:targetPackage="com.android.providers.settings" android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2022 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
<string name="def_device_name_simple">motorola edge 30</string>
</resources>