Merge cherrypicks of ['googleplex-android-review.googlesource.com/25238220'] into security-aosp-tm-release.
Change-Id: I553fa7cb1e803a1edbd066f15e159dd5b8752136
diff --git a/src/com/android/nfc/NfcService.java b/src/com/android/nfc/NfcService.java
index 54b0561..ad3c732 100644
--- a/src/com/android/nfc/NfcService.java
+++ b/src/com/android/nfc/NfcService.java
@@ -1154,9 +1154,7 @@
}
public boolean isSecureNfcEnabled() {
- synchronized (NfcService.this) {
- return mIsSecureNfcEnabled;
- }
+ return mIsSecureNfcEnabled;
}
final class NfcAdapterService extends INfcAdapter.Stub {