Add transparent pointer overlay
Credits to @tabletseeker
This commit is contained in:
parent
384700c0a8
commit
8689bf86f9
8
Misc/TransparentPointer/Android.mk
Normal file
8
Misc/TransparentPointer/Android.mk
Normal 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)
|
10
Misc/TransparentPointer/AndroidManifest.xml
Normal file
10
Misc/TransparentPointer/AndroidManifest.xml
Normal 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>
|
BIN
Misc/TransparentPointer/res/drawable-hdpi/pointer_arrow.png
Normal file
BIN
Misc/TransparentPointer/res/drawable-hdpi/pointer_arrow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
BIN
Misc/TransparentPointer/res/drawable-mdpi/pointer_arrow.png
Normal file
BIN
Misc/TransparentPointer/res/drawable-mdpi/pointer_arrow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
BIN
Misc/TransparentPointer/res/drawable-xhdpi/pointer_arrow.png
Normal file
BIN
Misc/TransparentPointer/res/drawable-xhdpi/pointer_arrow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
BIN
Misc/TransparentPointer/res/drawable-xxhdpi/pointer_arrow.png
Normal file
BIN
Misc/TransparentPointer/res/drawable-xxhdpi/pointer_arrow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.3 KiB |
|
@ -88,6 +88,7 @@ PRODUCT_PACKAGES += \
|
||||||
treble-overlay-misc-dt2w \
|
treble-overlay-misc-dt2w \
|
||||||
treble-overlay-misc-minimal-brightness \
|
treble-overlay-misc-minimal-brightness \
|
||||||
treble-overlay-misc-spen-pointer \
|
treble-overlay-misc-spen-pointer \
|
||||||
|
treble-overlay-misc-transparent-pointer \
|
||||||
treble-overlay-moto-e5 \
|
treble-overlay-moto-e5 \
|
||||||
treble-overlay-moto-e5plus \
|
treble-overlay-moto-e5plus \
|
||||||
treble-overlay-moto-e6plus \
|
treble-overlay-moto-e6plus \
|
||||||
|
|
Loading…
Reference in a new issue