Fix master build. WirelessSettings is a fragment in master.
Change-Id: I9ad1104605558859d90dd1ecc083e9ef35bf3fa0
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user