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:
Pierre-Hugues Husson 2020-05-27 10:31:12 +02:00
parent db0a2272e4
commit e17df26489
4 changed files with 19 additions and 0 deletions

6
Gestures/Android.mk Normal file
View 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)

View 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>

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_swipe_up_gesture_setting_available">true</bool>
</resources>

View file

@ -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 \