LG8n: Import WifiResOverlay configs from Stock

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Shirayuki39 2024-08-05 04:41:07 +08:00
parent 7acca9f129
commit b0628dc486
4 changed files with 54 additions and 1 deletions

View file

@ -345,8 +345,9 @@ PRODUCT_PACKAGES += \
CarrierConfigOverlay \
FrameworksResOverlay \
SettingsResOverlay \
SettingsProviderOverlayLG8n
SettingsProviderOverlayLG8n \
SystemUIOverlay \
WifiResOverlayLG8n \
TelephonyOverlay
# Lineage-Specific Overlays

View file

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

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
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.LG8n">
<overlay
android:isStatic="true"
android:priority="1"
android:targetName="WifiCustomization"
android:targetPackage="com.android.wifi.resources" />
</manifest>

View file

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2009, 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>
<bool name="config_wifi5ghzSupport">true</bool>
<bool name="config_wifiSaeH2eSupported">true</bool>
<bool name="config_wifi_background_scan_support">true</bool>
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
<bool name="config_wifi_fast_bss_transition_enabled">true</bool>
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
<bool name="config_wifi_softap_acs_supported">true</bool>
<bool name="config_wifi_softap_ieee80211ac_supported">true</bool>
<bool name="config_wifi_softap_sae_supported">true</bool>
</resources>