Update A32 overlays using stock overlay and add system ui configs

This commit is contained in:
captaincookie_200 2023-02-22 09:36:45 +01:00 committed by Pierre-Hugues Husson
parent 8ae5d803de
commit a73970ef68
10 changed files with 98 additions and 2 deletions

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-samsung-a32-systemui
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.samsung.a32.systemui"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="com.android.systemui"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+samsung/a32*"
android:priority="958"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="doze_display_state_supported">true</bool>
<bool name="doze_long_press_uses_prox">false</bool>
<bool name="doze_proximity_check_before_pulse">false</bool>
<bool name="doze_pulse_on_notifications">true</bool>
<bool name="doze_single_tap_uses_prox">false</bool>
<bool name="doze_suspend_display_state_supported">true</bool>
</resources>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="notch_status_bar_padding_top">14dp</dimen>
<dimen name="rounded_corner_content_padding">8dp</dimen>
<dimen name="status_bar_padding_end">6dp</dimen>
<dimen name="status_bar_padding_start">16dp</dimen>
<dimen name="status_bar_icon_padding">2dp</dimen>
<dimen name="status_bar_padding_top">4dp</dimen>
<item name="proximity_sensor_threshold" translatable="false" format="float" type="dimen">5</item>
</resources>

View file

@ -1,5 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="config_biometric_sensors">
<item>0:2:15</item>
</string-array>
<integer-array name="config_availableColorModes">
<item>-1</item>
</integer-array>
<integer-array name="config_autoBrightnessDisplayValuesNits">
<item>11</item>
<item>15</item>
@ -57,6 +63,17 @@
<item>20000</item>
<item>40000</item>
</integer-array>
<string-array name="config_defaultPinnerServiceFiles">
<item>/system/framework/arm/boot-mediatek-framework.vdex</item>
<item>/system/lib/libjavacrypto.so</item>
<item>/system/lib/libhidltransport.so</item>
<item>/system/framework/arm/boot-core-libart.oat</item>
<item>/system/framework/arm/boot-conscrypt.oat</item>
<item>/system/framework/arm/boot-core-libart.vdex</item>
<item>/system/framework/arm/boot-ext.vdex</item>
<item>/system/framework/arm/boot.vdex</item>
<item>/system/framework/arm/boot-framework.vdex</item>
</string-array>
<integer-array name="config_screenBrightnessBacklight">
<item>0</item>
<item>1</item>
@ -1035,4 +1052,34 @@
<item>798.5337</item>
<item>800</item>
</array>
<string-array name="config_tether_bluetooth_regexs">
<item>bt-pan</item>
<item>bt-dun</item>
</string-array>
<string-array name="config_tether_usb_regexs">
<item>rndis\\d</item>
</string-array>
<string-array name="config_tether_wifi_regexs">
<item>ap\\d</item>
</string-array>
<string-array name="networkAttributes">
<item>wifi,1,1,1,-1,true</item>
<item>mobile,0,0,0,-1,true</item>
<item>mobile_mms,2,0,2,60000,true</item>
<item>mobile_supl,3,0,2,60000,true</item>
<item>mobile_dun,4,0,2,60000,true</item>
<item>mobile_hipri,5,0,3,60000,true</item>
<item>ethernet,9,9,9,-1,true</item>
<item>mobile_fota,10,0,2,60000,true</item>
<item>mobile_ims,11,0,-1,-1,true</item>
<item>mobile_cbs,12,0,2,60000,true</item>
<item>wifi_p2p,13,1,0,-1,true</item>
<item>mobile_ia,14,0,2,-1,true</item>
<item>mobile_emergency,15,0,2,-1,true</item>
<item>mobile_mcx,1001,0,3,60000,true</item>
<item>mobile_xcap,1002,0,3,60000,true</item>
<item>mobile_rcs,2001,0,3,60000,true</item>
<item>mobile_bip,2002,0,3,60000,true</item>
<item>mobile_vsim,2003,0,-1,60000,true</item>
</string-array>
</resources>

View file

@ -1,5 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_device_volte_available">false</bool>
<bool name="config_device_vt_available">false</bool>
<bool name="config_device_wfc_ims_available">false</bool>
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_setColorTransformAccelerated">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_supportAudioSourceUnprocessed">false</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="skip_restoring_network_selection">true</bool>
</resources>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="config_screenBrightnessDoze">5</integer>
<integer name="config_screenBrightnessDim">12</integer>
<integer name="config_screenBrightnessSettingDefault">128</integer>
<integer name="config_screenBrightnessSettingMaximum">255</integer>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="config_mainBuiltInDisplayCutout">M 0,0 H -33.14285714285714 V 30.0952380952381 H 33.14285714285714 V 0 H 0 Z @dp</string>
</resources>
<string name="config_mainBuiltInDisplayCutout">M 0,0 H -27.42857142857143 V 30.47619047619048 H 27.42857142857143 V 0 H 0 Z @dp</string>
</resources>

0
fail Normal file
View file

View file

@ -184,6 +184,7 @@ PRODUCT_PACKAGES += \
treble-overlay-samsung-a31 \
treble-overlay-samsung-a31-systemui \
treble-overlay-samsung-a32 \
treble-overlay-samsung-a32-systemui \
treble-overlay-samsung-a33 \
treble-overlay-samsung-a33-systemui \
treble-overlay-samsung-a40 \