Dialer: Fix crash issue when user taps audio button while BT is connected
Since incallui doesn't have BLUETOOTH permission, SecurityException
occurs when using BluetoothDevice#getAliasName() API.
To resolve this issue, add the BLUETOOTH permission.
Test: manual - Checked that no crash occurred when switching to
audio route with BT connected.
Bug: 127236848
Change-Id: I65fa3d6275569e967d9608ac4b1c8ee175b2664d
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: strwbrry143 <alexfinhart@gmail.com>
Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Signed-off-by: Dmitrii <bankersenator@gmail.com>
Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
1 file changed