Skip to content
Snippets Groups Projects
Forked from Dhina17 / platform_frameworks_base
Source project has a limited visibility.
user avatar
Vitor Albuquerque authored
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
c3bb48cc
History
Name Last commit Last update