diff options
author | Ahmad Rulim <personal@rulim34.dev> | 2022-12-31 22:16:00 +0700 |
---|---|---|
committer | sinanmohd <pcmsinan@gmail.com> | 2023-01-05 22:04:15 +0530 |
commit | c57d49aa889527f985fe02b869d5ed41a1e8c726 (patch) | |
tree | aa35822927a00f027677c71a26883b227c7ef9f8 /rro_overlays/WifiOverlayS88007AA1 | |
parent | 39d12df3fbb341a0fbbea17d372109a8ae81a5be (diff) |
veux: overlay: Set default hotspot SSID based on ro.boot.board_id
Signed-off-by: Ahmad Rulim <personal@rulim34.dev>
Diffstat (limited to 'rro_overlays/WifiOverlayS88007AA1')
-rw-r--r-- | rro_overlays/WifiOverlayS88007AA1/Android.bp | 5 | ||||
-rw-r--r-- | rro_overlays/WifiOverlayS88007AA1/AndroidManifest.xml | 27 | ||||
-rw-r--r-- | rro_overlays/WifiOverlayS88007AA1/res/values/config.xml | 28 |
3 files changed, 60 insertions, 0 deletions
diff --git a/rro_overlays/WifiOverlayS88007AA1/Android.bp b/rro_overlays/WifiOverlayS88007AA1/Android.bp new file mode 100644 index 0000000..8188676 --- /dev/null +++ b/rro_overlays/WifiOverlayS88007AA1/Android.bp @@ -0,0 +1,5 @@ +runtime_resource_overlay { + name: "WifiOverlayS88007AA1", + sdk_version: "current", + product_specific: true +} diff --git a/rro_overlays/WifiOverlayS88007AA1/AndroidManifest.xml b/rro_overlays/WifiOverlayS88007AA1/AndroidManifest.xml new file mode 100644 index 0000000..e5d6112 --- /dev/null +++ b/rro_overlays/WifiOverlayS88007AA1/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. +--> + +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + coreApp="true" + package="com.android.wifi.resources.overlay.S88007AA1" + android:versionCode="1" + android:versionName="1.0"> + + <application android:hasCode="false" /> + <overlay android:targetPackage="com.android.wifi.resources" + android:targetName="WifiCustomization" + android:requiredSystemPropertyName="ro.boot.board_id" + android:requiredSystemPropertyValue="S88007AA1" + android:isStatic="true" + android:priority="0"/> +</manifest> diff --git a/rro_overlays/WifiOverlayS88007AA1/res/values/config.xml b/rro_overlays/WifiOverlayS88007AA1/res/values/config.xml new file mode 100644 index 0000000..d6deed9 --- /dev/null +++ b/rro_overlays/WifiOverlayS88007AA1/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">Redmi Note 11E Pro</string> + +</resources> |