commit | b72b351d21db4b5b6588b86b565b37091275ac8c | [log] [tgz] |
---|---|---|
author | William Escande <wescande@google.com> | Wed Feb 16 22:13:09 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Feb 16 22:13:09 2022 +0000 |
tree | 6cc8b91ca0103cbef270d3ad11f24e372782385b | |
parent | 0b957a2f89ae61979d4ea804db34fdbd1744d12c [diff] | |
parent | a877bd488feb2e637a6e6d9c6f7bec741cbfcf2b [diff] |
Merge "Remove intdef usage that block bluetooth apex"
diff --git a/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/ShadowBluetoothAdapter.java b/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/ShadowBluetoothAdapter.java index 3b7fbc7..c7e96bc 100644 --- a/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/ShadowBluetoothAdapter.java +++ b/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/ShadowBluetoothAdapter.java
@@ -69,7 +69,7 @@ } @Implementation - protected boolean removeActiveDevice(@BluetoothAdapter.ActiveDeviceUse int profiles) { + protected boolean removeActiveDevice(int profiles) { if (profiles != ACTIVE_DEVICE_AUDIO && profiles != ACTIVE_DEVICE_PHONE_CALL && profiles != ACTIVE_DEVICE_ALL) { return false; @@ -78,8 +78,7 @@ } @Implementation - protected boolean setActiveDevice(BluetoothDevice device, - @BluetoothAdapter.ActiveDeviceUse int profiles) { + protected boolean setActiveDevice(BluetoothDevice device, int profiles) { if (device == null) { return false; }