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

Commit 2fc2decb authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Change to use call streaming role to bind to streaming app."

parents ae397239 7a3b99ae
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -185,9 +185,8 @@ public class CallStreamingController extends CallsManagerListenerBase {
                return future;
            }

            // TODO: change this role to RoleManager.ROLE_STREAMING
            List<String> holders = roleManager.getRoleHoldersAsUser(RoleManager.ROLE_DIALER,
                    mUserHandle);
            List<String> holders = roleManager.getRoleHoldersAsUser(
                    RoleManager.ROLE_SYSTEM_CALL_STREAMING, mUserHandle);
            if (holders.isEmpty()) {
                Log.e(TAG, "Can't find streaming app");
                future.complete(new VoipCallTransactionResult(