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

Commit f3636661 authored by Zixuan Qu's avatar Zixuan Qu Committed by Automerger Merge Worker
Browse files

Merge "Fix "can't find system service" error on PackageManager." into udc-dev am: 07f88ddc

parents 303fc42c 07f88ddc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -177,7 +177,7 @@ public class CallStreamingController extends CallsManagerListenerBase {
            CompletableFuture<VoipCallTransactionResult> future = new CompletableFuture<>();

            RoleManager roleManager = mContext.getSystemService(RoleManager.class);
            PackageManager packageManager = mContext.getSystemService(PackageManager.class);
            PackageManager packageManager = mContext.getPackageManager();
            if (roleManager == null || packageManager == null) {
                Log.e(TAG, "Can't find system service");
                future.complete(new VoipCallTransactionResult(