Add system ui for A21s

This commit is contained in:
Can Kolay 2022-08-17 10:23:32 +03:00
parent aeae3cbfeb
commit b9e1970d5e
No known key found for this signature in database
GPG key ID: BBD85B493C753FD7
4 changed files with 31 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-a21s-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,13 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.samsung.a21s.systemui"
android:versionCode="1"
android:versionName="1.0">
<overlay
android:isStatic="true"
android:priority="981"
android:targetPackage="com.android.systemui"
android:requiredSystemPropertyValue="+*samsung/a21s*"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint" />
</manifest>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="status_bar_height">68px</dimen>
<dimen name="status_bar_height_default">68px</dimen>
<dimen name="status_bar_height_portrait">68px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<dimen name="quick_qs_offset_height">68px</dimen>
<dimen name="status_bar_clock_starting_padding">0dp</dimen>
<dimen name="status_bar_padding_start">0dp</dimen>
</resources>

View file

@ -12,8 +12,6 @@
<dimen name="status_bar_height_portrait">68px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<dimen name="quick_qs_offset_height">68px</dimen>
<dimen name="status_bar_clock_starting_padding">0dp</dimen>
<dimen name="status_bar_padding_start">0dp</dimen>
<string translatable="false" name="config_mainBuiltInDisplayCutout">
M 0,0