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

Commit 07f88ddc authored by Zixuan Qu's avatar Zixuan Qu Committed by Android (Google) Code Review
Browse files

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

parents a1b388ba eeb0326d
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(