topaz: overlay: Set default Settings.Global.DEVICE_NAME according to MIUI

* MIUI uses ro.product.vendor.marketname for default device name.

Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
Signed-off-by: artemscine <artempemine@gmail.com>
This commit is contained in:
LuK1337
2021-05-21 15:32:47 +02:00
committed by artemscine
parent 62936a4207
commit e14ddbae42
4 changed files with 30 additions and 0 deletions

View File

@@ -414,6 +414,7 @@ PRODUCT_PACKAGES += \
FrameworksResCommon \
FrameworksResTarget \
FrameworksResTopaz \
SettingsProviderResTopaz \
SettingsResTopaz \
SettingsOverlayM7G \
SettingsOverlayM7N \

View File

@@ -0,0 +1,10 @@
//
// Copyright (C) 2023 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "SettingsProviderResTopaz",
device_specific: true
}

View File

@@ -0,0 +1,10 @@
<!--
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.providers.settings.overlay.topaz">
<overlay android:targetPackage="com.android.providers.settings"
android:isStatic="true"
android:priority="700"/>
</manifest>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2023 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
<string name="def_device_name_simple">Redmi Note 12 4G</string>
</resources>