dubai: overlay: Set default hotspot SSID prefix
Added a device specific overlay that changes the default name from "AndroidAp" to customized name Test: Builds, manually verified name change Bug: 36368950 Change-Id: I38a5f6fb950d6a45342080bae186a8ed276d94bf Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This commit is contained in:
parent
259d952aa0
commit
1667e147d3
4 changed files with 50 additions and 1 deletions
|
@ -40,7 +40,8 @@ PRODUCT_PACKAGES += \
|
||||||
LineageSystemUIDubai \
|
LineageSystemUIDubai \
|
||||||
SettingsResDubai \
|
SettingsResDubai \
|
||||||
SettingsProviderResDubai \
|
SettingsProviderResDubai \
|
||||||
SystemUIResDubai
|
SystemUIResDubai \
|
||||||
|
WifiResDubai
|
||||||
|
|
||||||
# Audio
|
# Audio
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
10
resource-overlay/dubai/Wifi/Android.bp
Normal file
10
resource-overlay/dubai/Wifi/Android.bp
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2021 The LineageOS Project
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
runtime_resource_overlay {
|
||||||
|
name: "WifiResDubai",
|
||||||
|
sdk_version: "current",
|
||||||
|
vendor: true,
|
||||||
|
}
|
14
resource-overlay/dubai/Wifi/AndroidManifest.xml
Normal file
14
resource-overlay/dubai/Wifi/AndroidManifest.xml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2021 The LineageOS Project
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="com.android.wifi.resources.overlay.dubai">
|
||||||
|
|
||||||
|
<overlay
|
||||||
|
android:isStatic="true"
|
||||||
|
android:priority="750"
|
||||||
|
android:targetName="WifiCustomization"
|
||||||
|
android:targetPackage="com.android.wifi.resources" />
|
||||||
|
</manifest>
|
24
resource-overlay/dubai/Wifi/res/values/config.xml
Normal file
24
resource-overlay/dubai/Wifi/res/values/config.xml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
<resources>
|
||||||
|
|
||||||
|
<!-- Default access point SSID used for tethering -->
|
||||||
|
<string name="wifi_tether_configure_ssid_default" translatable="false">motorola edge 30</string>
|
||||||
|
|
||||||
|
</resources>
|
Loading…
Reference in a new issue