From 578ad005b546a2e3ef094a4723241441d6f9cfd7 Mon Sep 17 00:00:00 2001 From: Chenyang Zhong Date: Mon, 1 Nov 2021 04:12:53 -0400 Subject: [PATCH] gms: SystemUIGXOverlay: unset camera gesture package The power button double tap gesture retrieves the package name through keyguard's camera intents. Many devices do not ship a GoogleCamera by default, so setting config_cameraGesturePackage in overlay causes packageToLaunch to be null, thus breaking the power button double tap gesture. Test: adb shell dumpsys activity service com.android.systemui | grep -C3 'Camera gesture' Signed-off-by: Chenyang Zhong Change-Id: I61b3bf54b2375439297d0d0d39d924565886dec3 --- .../overlay/SystemUIGXOverlay/res/values-ar-rXB/strings.xml | 4 +--- .../overlay/SystemUIGXOverlay/res/values-en-rXA/strings.xml | 4 +--- .../product/overlay/SystemUIGXOverlay/res/values/strings.xml | 4 +--- exclude-tag.txt | 1 + 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/common/proprietary/product/overlay/SystemUIGXOverlay/res/values-ar-rXB/strings.xml b/common/proprietary/product/overlay/SystemUIGXOverlay/res/values-ar-rXB/strings.xml index a429d00c..42eba3cc 100644 --- a/common/proprietary/product/overlay/SystemUIGXOverlay/res/values-ar-rXB/strings.xml +++ b/common/proprietary/product/overlay/SystemUIGXOverlay/res/values-ar-rXB/strings.xml @@ -1,4 +1,2 @@ - - ‏‮com.google.android.GoogleCamera‬‏ - + diff --git a/common/proprietary/product/overlay/SystemUIGXOverlay/res/values-en-rXA/strings.xml b/common/proprietary/product/overlay/SystemUIGXOverlay/res/values-en-rXA/strings.xml index b71ce05b..42eba3cc 100644 --- a/common/proprietary/product/overlay/SystemUIGXOverlay/res/values-en-rXA/strings.xml +++ b/common/proprietary/product/overlay/SystemUIGXOverlay/res/values-en-rXA/strings.xml @@ -1,4 +1,2 @@ - - [çöḿ.ĝööĝļé.åñðŕöîð.ĜööĝļéÇåḿéŕå one two three four] - + diff --git a/common/proprietary/product/overlay/SystemUIGXOverlay/res/values/strings.xml b/common/proprietary/product/overlay/SystemUIGXOverlay/res/values/strings.xml index 34a0b7c3..42eba3cc 100644 --- a/common/proprietary/product/overlay/SystemUIGXOverlay/res/values/strings.xml +++ b/common/proprietary/product/overlay/SystemUIGXOverlay/res/values/strings.xml @@ -1,4 +1,2 @@ - - com.google.android.GoogleCamera - + diff --git a/exclude-tag.txt b/exclude-tag.txt index 3d909dfc..5c005527 100644 --- a/exclude-tag.txt +++ b/exclude-tag.txt @@ -25,6 +25,7 @@ integer-array:config_face_auth_props integer-array:config_nfc_conflict_with_usb_audio_productid integer-array:config_nfc_conflict_with_usb_audio_vendorid integer-array:non_removable_euicc_slots +string:config_cameraGesturePackage string:def_wireless_charging_started_sound string:face_recalibrate_notification_content string:face_recalibrate_notification_name