mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 23:46:27 -08:00
LG8n: Set default Settings.Global.DEVICE_NAME according to HiOS
HiOS uses ro.product.product.tran.device.name.default for default device name. Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16 Signed-off-by: dodyirawan85 <dev.irawans@gmail.com> Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
5036051946
commit
e1ea607c7c
|
@ -345,6 +345,7 @@ PRODUCT_PACKAGES += \
|
||||||
CarrierConfigOverlay \
|
CarrierConfigOverlay \
|
||||||
FrameworksResOverlayLG8n \
|
FrameworksResOverlayLG8n \
|
||||||
SettingsResOverlayLG8n \
|
SettingsResOverlayLG8n \
|
||||||
|
SettingsProviderOverlayLG8n \
|
||||||
SystemUIOverlayLG8n \
|
SystemUIOverlayLG8n \
|
||||||
TelephonyOverlayLG8n
|
TelephonyOverlayLG8n
|
||||||
|
|
||||||
|
|
9
overlay/SettingsProviderOverlayLG8n/Android.bp
Normal file
9
overlay/SettingsProviderOverlayLG8n/Android.bp
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2022 The LineageOS Project
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
runtime_resource_overlay {
|
||||||
|
name: "SettingsProviderOverlayLG8n",
|
||||||
|
vendor: true
|
||||||
|
}
|
13
overlay/SettingsProviderOverlayLG8n/AndroidManifest.xml
Normal file
13
overlay/SettingsProviderOverlayLG8n/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.LG8n">
|
||||||
|
|
||||||
|
<overlay
|
||||||
|
android:isStatic="true"
|
||||||
|
android:priority="350"
|
||||||
|
android:targetPackage="com.android.providers.settings" />
|
||||||
|
</manifest>
|
22
overlay/SettingsProviderOverlayLG8n/res/values/config.xml
Normal file
22
overlay/SettingsProviderOverlayLG8n/res/values/config.xml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
/**
|
||||||
|
* Copyright (c) 2009, The Android Open Source Project
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
<resources>
|
||||||
|
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
|
||||||
|
<string name="def_device_name_simple">TECNO POVA 4 Pro</string>
|
||||||
|
</resources>
|
Loading…
Reference in a new issue