cupid: overlay: Add WifiResCupid

Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
This commit is contained in:
Roshan Pius 2020-04-24 14:33:28 -07:00 committed by Arian
parent 97fb0f6075
commit b639813dd5
4 changed files with 30 additions and 1 deletions

View File

@ -12,8 +12,13 @@ $(call inherit-product, vendor/xiaomi/cupid/cupid-vendor.mk)
# Overlay
PRODUCT_PACKAGES += \
SettingsProviderResCupid
SettingsProviderResCupid \
WifiResCupid
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Wifi
PRODUCT_PACKAGES += \
CupidWifiOverlay

4
overlay/Wifi/Android.bp Normal file
View File

@ -0,0 +1,4 @@
runtime_resource_overlay {
name: "WifiResCupid",
device_specific: true
}

View File

@ -0,0 +1,11 @@
<!--
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.wifi.resources.overlay.cupid">
<overlay android:targetPackage="com.android.wifi.resources"
android:targetName="WifiCustomization"
android:isStatic="true"
android:priority="700"/>
</manifest>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2022 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<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">Xiaomi 12</string>
</resources>