Skip to content
Commit c3bb48cc authored by Vitor Albuquerque's avatar Vitor Albuquerque Committed by Felipe Ramos
Browse files

AudioService: fix uid check in setBluetoothScoOn

Calling UID is now checked in setBluetoothScoOn and only allow
route to change if request comes from a system component.

The check was not taking into account secondary users, hence
causing failure to route audio to SCO when secondary users
were active.

This change makes sure we are checking the correct app id,
without taking into account the user id.

Bug: 74057977
Test: SCO call using Guest User

Change-Id: I3e26dedb6333a85b315073fe4830c4d1b8070742
parent 85e68063
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment