Add a treble-overlay-wifi5g to declare dual-band wifi. Actual hardware detection is done in rw-system
This commit is contained in:
parent
7785b155ab
commit
b4764c6670
7
Wifi5G/Android.mk
Normal file
7
Wifi5G/Android.mk
Normal file
|
@ -0,0 +1,7 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_PACKAGE_NAME := treble-overlay-wifi5g
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay
|
||||
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
|
||||
include $(BUILD_PACKAGE)
|
10
Wifi5G/AndroidManifest.xml
Normal file
10
Wifi5G/AndroidManifest.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="me.phh.treble.overlay.wifi5g"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
<overlay android:targetPackage="android"
|
||||
android:requiredSystemPropertyName="persist.sys.overlay.wifi5g"
|
||||
android:requiredSystemPropertyValue="true"
|
||||
android:priority="10"
|
||||
android:isStatic="true" />
|
||||
</manifest>
|
4
Wifi5G/res/values/config.xml
Normal file
4
Wifi5G/res/values/config.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="config_wifi_dual_band_support">true</bool>
|
||||
</resources>
|
|
@ -9,6 +9,7 @@ PRODUCT_PACKAGES += \
|
|||
treble-overlay-SystemUI-FalseLocks \
|
||||
treble-overlay-devinputjack \
|
||||
treble-overlay-oneplus-op6 \
|
||||
treble-overlay-wifi5g \
|
||||
treble-overlay-xiaomi-mi8 \
|
||||
treble-overlay-xiaomi-mi8ee \
|
||||
treble-overlay-xiaomi-mi8se \
|
||||
|
|
Loading…
Reference in a new issue