diff options
-rwxr-xr-x | src/com/android/nfc/NfcService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/nfc/NfcService.java b/src/com/android/nfc/NfcService.java index 337930e..f46f144 100755 --- a/src/com/android/nfc/NfcService.java +++ b/src/com/android/nfc/NfcService.java @@ -601,7 +601,7 @@ public class NfcService extends Application implements DeviceHostListener { @Override public boolean isNdefPushEnabled() throws RemoteException { synchronized (NfcService.this) { - return mIsNdefPushEnabled; + return mState == NfcAdapter.STATE_ON && mIsNdefPushEnabled; } } |