Add a high priority overlay to force-enable gestures
This is done because vendor/google/apps/SearchLauncher/overlay disables it behind our back.
This commit is contained in:
parent
db0a2272e4
commit
e17df26489
6
Gestures/Android.mk
Normal file
6
Gestures/Android.mk
Normal file
|
@ -0,0 +1,6 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_PACKAGE_NAME := treble-overlay-gestures
|
||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||
include $(BUILD_PACKAGE)
|
8
Gestures/AndroidManifest.xml
Normal file
8
Gestures/AndroidManifest.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="me.phh.treble.overlay.gestures"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
<overlay android:targetPackage="android"
|
||||
android:priority="933"
|
||||
android:isStatic="true" />
|
||||
</manifest>
|
4
Gestures/res/values/config.xml
Normal file
4
Gestures/res/values/config.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="config_swipe_up_gesture_setting_available">true</bool>
|
||||
</resources>
|
|
@ -20,6 +20,7 @@ PRODUCT_PACKAGES += \
|
|||
treble-overlay-essential-ph_1 \
|
||||
treble-overlay-fairphone-fp3 \
|
||||
treble-overlay-htc-exodus1 \
|
||||
treble-overlay-gestures \
|
||||
treble-overlay-htc-u12plus \
|
||||
treble-overlay-huawei \
|
||||
treble-overlay-huawei-ANE \
|
||||
|
|
Loading…
Reference in a new issue