Merge "Update Secure NFC API definitions"

This commit is contained in:
Ruchi Kandoi
2019-03-07 18:44:46 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 4 deletions

View File

@@ -80,7 +80,7 @@ public class AdvancedConnectedDeviceDashboardFragmentTest {
Context context = spy(RuntimeEnvironment.application);
when(context.getApplicationContext()).thenReturn(context);
when(NfcAdapter.getDefaultAdapter(context)).thenReturn(mNfcAdapter);
when(mNfcAdapter.deviceSupportsNfcSecure()).thenReturn(true);
when(mNfcAdapter.isSecureNfcSupported()).thenReturn(true);
final List<String> niks =
AdvancedConnectedDeviceDashboardFragment.SEARCH_INDEX_DATA_PROVIDER
.getNonIndexableKeys(context);