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

Commit c28514de authored by James Willcox's avatar James Willcox
Browse files

Fail to create QuickAccessWalletServiceInfo when there is no default wallet

Bug: 399910516
Test: atest QuickAccessWalletClientTest
Flag: EXEMPT bugfix
Change-Id: If3402a22c9b7a8f4dfc39cb27e256ec6a2afd0a0
parent da3c41b2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -96,6 +96,10 @@ class QuickAccessWalletServiceInfo {
            defaultAppPackageName = defaultPaymentApp.getPackageName();
        }

        if (defaultAppPackageName == null || defaultAppUser < 0) {
            return null;
        }

        ServiceInfo serviceInfo = getWalletServiceInfo(context, defaultAppPackageName,
                defaultAppUser);
        if (serviceInfo == null) {