Add transparent pointer overlay

Credits to @tabletseeker
This commit is contained in:
Alberto Ponces 2023-10-25 10:04:04 +00:00
parent 384700c0a8
commit 8689bf86f9
7 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-misc-transparent-pointer
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.misc.spen_pointer"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
android:requiredSystemPropertyName="persist.sys.overlay.trans_pointer"
android:requiredSystemPropertyValue="true"
android:priority="8005"
android:isStatic="true" />
</manifest>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

View file

@ -88,6 +88,7 @@ PRODUCT_PACKAGES += \
treble-overlay-misc-dt2w \
treble-overlay-misc-minimal-brightness \
treble-overlay-misc-spen-pointer \
treble-overlay-misc-transparent-pointer \
treble-overlay-moto-e5 \
treble-overlay-moto-e5plus \
treble-overlay-moto-e6plus \