sm8450-common: overlay: Add WifiResTarget_cape

Change-Id: Ia83c6747afb58dd1606d5c441fda20b8994b501f
This commit is contained in:
Arian 2024-03-07 18:36:34 +01:00
parent 6b2c1b3656
commit 3e6614bdad
4 changed files with 45 additions and 0 deletions

View file

@ -350,6 +350,7 @@ PRODUCT_PACKAGES += \
SettingsProviderResXiaomi \
SettingsResXiaomi \
WifiResTarget \
WifiResTarget_cape \
WifiResTarget_spf
# Partitions

View file

@ -0,0 +1,10 @@
//
// Copyright (C) 2024 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "WifiResTarget_cape",
vendor: true,
}

View file

@ -0,0 +1,13 @@
<!--
Copyright (C) 2024 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.target">
<overlay android:targetPackage="com.android.wifi.resources"
android:targetName="WifiCustomization"
android:isStatic="true"
android:priority="500"
android:requiredSystemPropertyName="ro.boot.product.vendor.sku"
android:requiredSystemPropertyValue="cape"/>
</manifest>

View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Indicates that bridged AP mode is supported on this device -->
<bool name="config_wifiBridgedSoftApSupported" translatable="false">false</bool>
<!-- Enable Make-Before-Break Wifi network switching.
Note: this is conditional on the device supporting dual concurrent STAs. -->
<bool name="config_wifiMultiStaNetworkSwitchingMakeBeforeBreakEnabled" translatable="false">false</bool>
<!-- Enable concurrent peer to peer + internet connectivity
Note: this is conditional on the device supporting dual concurrent STAs. -->
<bool name="config_wifiMultiStaLocalOnlyConcurrencyEnabled" translatable="false">false</bool>
<!-- Enable concurrent restricted connectivity + internet connectivity
Note: this is conditional on the device supporting dual concurrent STAs. -->
<bool name="config_wifiMultiStaRestrictedConcurrencyEnabled" translatable="false">false</bool>
</resources>