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

Commit 7a3b99ae authored by Grace Jia's avatar Grace Jia
Browse files

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

Bug: 262412844
Test: Cts test CallStreamingTest
Change-Id: Ic5dbedb36b132c48502845aaf891761a99463cf5
parent 43cc8a94
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(