Add android.permission.INTERACT_ACROSS_USERS to the manifest of
bluetooth CTS.
While running bluetooth CTS for car emulator, got a lot of runtime
exceptions from various binder calls. It's not 100% reproducible but
frequently got failures on
android.bluetooth.cts.BluetoothHapClientTest, android.bluetooth.cts.BluetoothA2dpSinkTest, android.bluetooth.cts.BluetoothMapClientTest, android.bluetooth.cts.BluetoothPbapClientTest with SecurityException below.
"java.lang.SecurityException: query intent receivers: UID 1010205
requires android.permission.INTERACT_ACROSS_USERS_FULL or
android.permission.INTERACT_ACROSS_USERS to access user 0"
Bug: 263444475
Test: cts-tradefed run cts -m CtsBluetoothTestCases
Change-Id: I25045967048eecaacf4d3a9cfec79ab5d5a16d14
1 file changed