Show identity address in the bluetooth details page

Bug: 197044261
Test: build pass
Change-Id: Ic1ef1d575f35c4b37d6f9195ec10dd31ed5bdd5b
This commit is contained in:
Chienyuan
2022-01-18 16:46:46 +08:00
committed by Chienyuan Huang
parent 0ccb8750b9
commit 84a9b23ba8
7 changed files with 11 additions and 4 deletions

View File

@@ -305,6 +305,7 @@ public class BluetoothPairingDetailTest {
when(cachedDevice.isConnected()).thenReturn(true);
when(cachedDevice.getDevice()).thenReturn(device2);
when(cachedDevice.getAddress()).thenReturn(TEST_DEVICE_ADDRESS_B);
when(cachedDevice.getIdentityAddress()).thenReturn(TEST_DEVICE_ADDRESS_B);
mFragment.onProfileConnectionStateChanged(cachedDevice, BluetoothProfile.A2DP,
BluetoothAdapter.STATE_CONNECTED);