cupid: overlay: Add WifiResCupid
Bug: 148617260 Test: Device boots up and connects to wifi networks. Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
This commit is contained in:
parent
97fb0f6075
commit
b639813dd5
@ -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
4
overlay/Wifi/Android.bp
Normal file
@ -0,0 +1,4 @@
|
||||
runtime_resource_overlay {
|
||||
name: "WifiResCupid",
|
||||
device_specific: true
|
||||
}
|
11
overlay/Wifi/AndroidManifest.xml
Normal file
11
overlay/Wifi/AndroidManifest.xml
Normal 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>
|
9
overlay/Wifi/res/values/config.xml
Normal file
9
overlay/Wifi/res/values/config.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user