3
0
Fork 0

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 <zhongcy95@gmail.com>
Change-Id: I61b3bf54b2375439297d0d0d39d924565886dec3
This commit is contained in:
Chenyang Zhong 2021-11-01 04:12:53 -04:00 committed by AdarshGrewal
parent b8eb3388c4
commit 578ad005b5
4 changed files with 4 additions and 9 deletions

View File

@ -1,4 +1,2 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources/>
<string name="config_cameraGesturePackage">com.google.android.GoogleCamera</string>
</resources>

View File

@ -1,4 +1,2 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources/>
<string name="config_cameraGesturePackage">[çöḿ.ĝööĝļé.åñðŕöîð.ĜööĝļéÇåḿéŕå one two three four]</string>
</resources>

View File

@ -1,4 +1,2 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources/>
<string name="config_cameraGesturePackage">com.google.android.GoogleCamera</string>
</resources>

View File

@ -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_productid
integer-array:config_nfc_conflict_with_usb_audio_vendorid integer-array:config_nfc_conflict_with_usb_audio_vendorid
integer-array:non_removable_euicc_slots integer-array:non_removable_euicc_slots
string:config_cameraGesturePackage
string:def_wireless_charging_started_sound string:def_wireless_charging_started_sound
string:face_recalibrate_notification_content string:face_recalibrate_notification_content
string:face_recalibrate_notification_name string:face_recalibrate_notification_name