Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41b9693a authored by Charles Wang's avatar Charles Wang
Browse files

Refactor Wallet double tap power launch to be handled by SysUI instead of core.

Previously, GestureLauncherService in core was manually handling
launching the wallet app.

With this change, core notifies SysUI that wallet launch gesture was
detected, and SysUI handles the wallet launch. This follows the same
pattern that camera/emergency launch use with the power button shortcut.

This will allow SysUI to handle dismissing the keyguard before launching wallet.

Demo video: https://drive.google.com/file/d/1-jL33O04DMOgv30_yCOZZXgxQN853XA1/view?usp=sharing&resourcekey=0-4MDErXQeXpwkkSEFe-tQAg

Test: atest GestureLauncherServiceTest && atest
QuickAccessWalletControllerTest && atest CentralSurfacesImplTest &&
atest CommandQueueTest && atest CentralSurfacesCommandQueueCallbacksTest
Test: manually changing settings and launching wallet/camera.
Bug: 384938619
Flag:
android.service.quickaccesswallet.launch_wallet_via_sysui_callbacks

Change-Id: If3cf23e97de06652936a8b4b41e5a2e590f94c0a
parent 5ff58de7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment