aboutsummaryrefslogtreecommitdiff
path: root/rro_overlays/SettingsProviderOverlayS88006AA1
diff options
context:
space:
mode:
authorAhmad Rulim <personal@rulim34.dev>2022-12-31 21:50:22 +0700
committersinanmohd <pcmsinan@gmail.com>2023-01-05 22:04:15 +0530
commit39d12df3fbb341a0fbbea17d372109a8ae81a5be (patch)
tree28527534ea9f6e93293db4344641a3a5894f407d /rro_overlays/SettingsProviderOverlayS88006AA1
parent0be2f0d3f718e7d7b0728af775913bdc0c3777e7 (diff)
veux: overlay: Set device name based on ro.boot.board_id
Signed-off-by: Ahmad Rulim <personal@rulim34.dev>
Diffstat (limited to 'rro_overlays/SettingsProviderOverlayS88006AA1')
-rw-r--r--rro_overlays/SettingsProviderOverlayS88006AA1/Android.bp21
-rw-r--r--rro_overlays/SettingsProviderOverlayS88006AA1/AndroidManifest.xml22
-rw-r--r--rro_overlays/SettingsProviderOverlayS88006AA1/res/values/defaults.xml28
3 files changed, 71 insertions, 0 deletions
diff --git a/rro_overlays/SettingsProviderOverlayS88006AA1/Android.bp b/rro_overlays/SettingsProviderOverlayS88006AA1/Android.bp
new file mode 100644
index 0000000..b3e525b
--- /dev/null
+++ b/rro_overlays/SettingsProviderOverlayS88006AA1/Android.bp
@@ -0,0 +1,21 @@
+//
+// Copyright (C) 2021 ArrowOS
+//
+// 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.
+//
+
+runtime_resource_overlay {
+ name: "SettingsProviderOverlayS88006AA1",
+ sdk_version: "current",
+ product_specific: true,
+}
diff --git a/rro_overlays/SettingsProviderOverlayS88006AA1/AndroidManifest.xml b/rro_overlays/SettingsProviderOverlayS88006AA1/AndroidManifest.xml
new file mode 100644
index 0000000..323fc44
--- /dev/null
+++ b/rro_overlays/SettingsProviderOverlayS88006AA1/AndroidManifest.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2021 ArrowOS
+ 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.
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.providers.settings.overlay.S88006AA1">
+
+ <application android:hasCode="false" />
+ <overlay android:targetPackage="com.android.providers.settings"
+ android:requiredSystemPropertyName="ro.boot.board_id"
+ android:requiredSystemPropertyValue="S88006AA1"
+ android:isStatic="true"
+ android:priority="1" />
+</manifest>
diff --git a/rro_overlays/SettingsProviderOverlayS88006AA1/res/values/defaults.xml b/rro_overlays/SettingsProviderOverlayS88006AA1/res/values/defaults.xml
new file mode 100644
index 0000000..16d5c4a
--- /dev/null
+++ b/rro_overlays/SettingsProviderOverlayS88006AA1/res/values/defaults.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * Copyright (c) 2015, 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=MANUFACTURER $2=MODEL-->
+ <string translatable="false" name="def_device_name">Xiaomi Redmi Note 11 Pro 5G</string>
+
+ <!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
+ <string translatable="false" name="def_device_name_simple">Redmi Note 11 Pro 5G</string>
+
+</resources>