Align with Bluetooth metadata API changes
* Align with the changes of Bluetooth metadata APIs. * Move metadata utils from Settings to SettingsLib. Bug: 124448651 Test: make RunSettingsRoboTests Change-Id: Ic9ad91536ef3ff6807a08bbffa3dd796ef1ad523
This commit is contained in:
@@ -49,7 +49,8 @@ public class BluetoothFeatureProviderImplTest {
|
||||
@Test
|
||||
public void getBluetoothDeviceSettingsUri_containCorrectMacAddress() {
|
||||
when(mBluetoothDevice.getMetadata(
|
||||
BluetoothDevice.METADATA_ENHANCED_SETTINGS_UI_URI)).thenReturn(SETTINGS_URI);
|
||||
BluetoothDevice.METADATA_ENHANCED_SETTINGS_UI_URI)).thenReturn(
|
||||
SETTINGS_URI.getBytes());
|
||||
final Uri uri = mBluetoothFeatureProvider.getBluetoothDeviceSettingsUri(mBluetoothDevice);
|
||||
assertThat(uri.toString()).isEqualTo(SETTINGS_URI);
|
||||
}
|
||||
|
Reference in New Issue
Block a user