denniz: overlay: Decommonize

This commit is contained in:
lahaina
2024-06-02 00:57:00 +09:00
parent 399e23e6e0
commit 2f1d60d3c4
5 changed files with 31 additions and 1 deletions

View File

@@ -30,7 +30,8 @@ PRODUCT_VENDOR_PROPERTIES += \
# Overlays
PRODUCT_PACKAGES += \
FrameworkResOverlayDenniz \
SettingsProviderOverlayDenniz
SettingsProviderOverlayDenniz \
WifiOverlayDenniz
# Inherit from vendor blobs
$(call inherit-product, vendor/oplus/denniz/denniz-vendor.mk)

View File

@@ -2,4 +2,12 @@
<resources>
<!-- The default peak refresh rate for a given device. -->
<integer name="config_defaultPeakRefreshRate">90</integer>
<!-- Whether device has physical tri state switch -->
<bool name="config_hasAlertSlider">true</bool>
<!-- The location of the devices physical tri state switch
0: Left side
1: Right side -->
<integer name="config_alertSliderLocation">1</integer>
</resources>

View File

@@ -0,0 +1,6 @@
runtime_resource_overlay {
name: "WifiOverlayDenniz",
sdk_version: "current",
resource_dirs: ["res"],
product_specific: true,
}

View File

@@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.lineageos.denniz.wifioverlay">
<application android:hasCode="false" />
<overlay
android:targetPackage="com.android.wifi.resources"
android:targetName="WifiCustomization"
android:isStatic="true"
android:priority="0" />
</manifest>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Do not translate. Default access point SSID used for tethering -->
<string name="wifi_tether_configure_ssid_default" translatable="false">OnePlus Nord 2 5G</string>
</resources>