summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Veichtlbauer <georg@vware.at>2022-07-23 00:14:41 +0200
committerHemant Sharma <hemantbeast@gmail.com>2022-07-28 12:30:17 +0530
commit48f8df2fcb967a90b5d7531f7bb0466554721f5f (patch)
tree32f1af2578178f7227acf3130cddcd3a9178a011
parent8d1120371d6b7298610d96fe7d7d91369b06ab8e (diff)
cheeseburger: overlay: Add default tether SSID
Change-Id: I8e15d3a1966aefd466cccaa40902b1dc681aca9a
-rw-r--r--device.mk4
-rw-r--r--rro_overlays/WifiOverlay/Android.bp6
-rw-r--r--rro_overlays/WifiOverlay/AndroidManifest.xml27
-rw-r--r--rro_overlays/WifiOverlay/res/values/config.xml28
4 files changed, 65 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index 9549ca2..0333b01 100644
--- a/device.mk
+++ b/device.mk
@@ -57,5 +57,9 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
vendor.lineage.touch@1.0-service.cheeseburger
+# Wifi
+PRODUCT_PACKAGES += \
+ CheeseburgerWifiOverlay
+
# Inherit from oneplus msm8998-common
$(call inherit-product, device/oneplus/msm8998-common/common.mk)
diff --git a/rro_overlays/WifiOverlay/Android.bp b/rro_overlays/WifiOverlay/Android.bp
new file mode 100644
index 0000000..1557f0e
--- /dev/null
+++ b/rro_overlays/WifiOverlay/Android.bp
@@ -0,0 +1,6 @@
+runtime_resource_overlay {
+ name: "CheeseburgerWifiOverlay",
+ theme: "CheeseburgerWifiOverlay",
+ sdk_version: "current",
+ product_specific: true,
+}
diff --git a/rro_overlays/WifiOverlay/AndroidManifest.xml b/rro_overlays/WifiOverlay/AndroidManifest.xml
new file mode 100644
index 0000000..3c6b390
--- /dev/null
+++ b/rro_overlays/WifiOverlay/AndroidManifest.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2019 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.
+-->
+<!-- Pixel specific wifi overlays -->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.android.wifi.resources.cheeseburger"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <application android:hasCode="false" />
+ <overlay
+ android:targetPackage="com.android.wifi.resources"
+ android:targetName="WifiCustomization"
+ android:isStatic="true"
+ android:priority="1"/>
+</manifest>
diff --git a/rro_overlays/WifiOverlay/res/values/config.xml b/rro_overlays/WifiOverlay/res/values/config.xml
new file mode 100644
index 0000000..4b44242
--- /dev/null
+++ b/rro_overlays/WifiOverlay/res/values/config.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2019 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.
+-->
+
+<!-- These resources are around just to allow their values to be customized
+ for different hardware and product builds. Do not translate.
+
+ NOTE: The naming convention is "config_camelCaseValue". Some legacy
+ entries do not follow the convention, but all new entries should. -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Default access point SSID used for tethering -->
+ <string name="wifi_tether_configure_ssid_default" translatable="false">OnePlus 5</string>
+
+</resources>