OSDN Git Service

Use getDefaultAdapter instead of getNfcAdapter
authorAndres Morales <anmorales@google.com>
Mon, 2 Feb 2015 17:35:14 +0000 (09:35 -0800)
committerAndres Morales <anmorales@google.com>
Mon, 2 Feb 2015 21:39:57 +0000 (13:39 -0800)
commit2e75203a6ecb81725b68bced6c5f8d5be37365f1
tree43a2f5a045febb180d63b0b12222768cbec37705
parent528c64e205bf1d8f8237fb4e582d152958345b92
Use getDefaultAdapter instead of getNfcAdapter

getNfcAdapter can throw an exception if NFC is not
available

Bug: 19227597
Change-Id: Ib95849057938066dc5760a34f16333f5423ce61f
src/com/android/settings/wifi/WifiSettings.java