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

@@ -62,6 +62,7 @@ public class RemoteDeviceNameDialogFragmentTest {
String deviceAddress = "55:66:77:88:99:AA";
when(mCachedDevice.getAddress()).thenReturn(deviceAddress);
when(mCachedDevice.getIdentityAddress()).thenReturn(deviceAddress);
mFragment = spy(RemoteDeviceNameDialogFragment.newInstance(mCachedDevice));
doReturn(mCachedDevice).when(mFragment).getDevice(any());
}