Loading packages/SystemUI/src/com/android/systemui/qs/tiles/NfcTile.java +1 −5 Original line number Diff line number Diff line Loading @@ -155,11 +155,7 @@ public class NfcTile extends QSTileImpl<BooleanState> { private NfcAdapter getAdapter() { if (mAdapter == null) { try { mAdapter = NfcAdapter.getNfcAdapter(mContext.getApplicationContext()); } catch (UnsupportedOperationException e) { mAdapter = null; } mAdapter = NfcAdapter.getDefaultAdapter(mContext.getApplicationContext()); } return mAdapter; } Loading Loading
packages/SystemUI/src/com/android/systemui/qs/tiles/NfcTile.java +1 −5 Original line number Diff line number Diff line Loading @@ -155,11 +155,7 @@ public class NfcTile extends QSTileImpl<BooleanState> { private NfcAdapter getAdapter() { if (mAdapter == null) { try { mAdapter = NfcAdapter.getNfcAdapter(mContext.getApplicationContext()); } catch (UnsupportedOperationException e) { mAdapter = null; } mAdapter = NfcAdapter.getDefaultAdapter(mContext.getApplicationContext()); } return mAdapter; } Loading