avicii: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
This commit is contained in:
@@ -324,6 +324,7 @@ PRODUCT_PACKAGES += \
|
|||||||
FrameworksResTarget \
|
FrameworksResTarget \
|
||||||
OPlusFrameworksResCommon \
|
OPlusFrameworksResCommon \
|
||||||
OPlusFrameworksResTarget \
|
OPlusFrameworksResTarget \
|
||||||
|
OPlusSettingsProviderResTarget \
|
||||||
OPlusSettingsResCommon \
|
OPlusSettingsResCommon \
|
||||||
OPlusSystemUIResCommon \
|
OPlusSystemUIResCommon \
|
||||||
OPlusSystemUIResTarget \
|
OPlusSystemUIResTarget \
|
||||||
|
|||||||
9
overlay/OPlusSettingsProviderResTarget/Android.bp
Normal file
9
overlay/OPlusSettingsProviderResTarget/Android.bp
Normal 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,
|
||||||
|
}
|
||||||
13
overlay/OPlusSettingsProviderResTarget/AndroidManifest.xml
Normal file
13
overlay/OPlusSettingsProviderResTarget/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.providers.settings.overlay.oplus.target">
|
||||||
|
|
||||||
|
<overlay
|
||||||
|
android:isStatic="true"
|
||||||
|
android:priority="350"
|
||||||
|
android:targetPackage="com.android.providers.settings" />
|
||||||
|
</manifest>
|
||||||
@@ -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>
|
||||||
Reference in New Issue
Block a user