Fix master build. WirelessSettings is a fragment in master.

Change-Id: I9ad1104605558859d90dd1ecc083e9ef35bf3fa0
This commit is contained in:
Nick Pelly
2010-12-13 13:44:10 -08:00
parent 9f45909322
commit b8be6da887

View File

@@ -127,7 +127,7 @@ public class WirelessSettings extends SettingsPreferenceFragment {
} }
// Remove NFC if its not available // Remove NFC if its not available
if (NfcAdapter.getDefaultAdapter(this) == null) { if (NfcAdapter.getDefaultAdapter(activity) == null) {
getPreferenceScreen().removePreference(nfc); getPreferenceScreen().removePreference(nfc);
} }