avicii: Set a default Settings.Global.DEVICE_NAME

Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
This commit is contained in:
LuK1337
2023-01-25 15:14:51 +05:30
committed by AmolAmrit
parent b293e81f90
commit 0fa8d288e7
4 changed files with 34 additions and 0 deletions

View File

@@ -324,6 +324,7 @@ PRODUCT_PACKAGES += \
FrameworksResTarget \ FrameworksResTarget \
OPlusFrameworksResCommon \ OPlusFrameworksResCommon \
OPlusFrameworksResTarget \ OPlusFrameworksResTarget \
OPlusSettingsProviderResTarget \
OPlusSettingsResCommon \ OPlusSettingsResCommon \
OPlusSystemUIResCommon \ OPlusSystemUIResCommon \
OPlusSystemUIResTarget \ OPlusSystemUIResTarget \

View File

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

View 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.providers.settings.overlay.oplus.target">
<overlay
android:isStatic="true"
android:priority="350"
android:targetPackage="com.android.providers.settings" />
</manifest>

View File

@@ -0,0 +1,11 @@
<?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" translatable="false">OnePlus Nord</string>
</resources>