diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2022-03-22 06:46:48 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2022-03-22 06:46:48 +0000 |
commit | fbdd10dfe4e593c3d6fe8de30dbdac6d421e2eac (patch) | |
tree | d986aafbaecdebb73a02430ced22075a63084307 /nci | |
parent | b10b3bc6b9439e561b42eba3c3a726e044010f63 (diff) | |
parent | 63d30b56c6b47bc7b3643861223613f3d8db29e8 (diff) | |
download | Nfc-fbdd10dfe4e593c3d6fe8de30dbdac6d421e2eac.tar.gz |
Merge "Revert "Fix P2P prio logic enabled even if beam is disabled""
Diffstat (limited to 'nci')
-rw-r--r-- | nci/jni/NativeNfcManager.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/nci/jni/NativeNfcManager.cpp b/nci/jni/NativeNfcManager.cpp index 7f379404..55a27b1f 100644 --- a/nci/jni/NativeNfcManager.cpp +++ b/nci/jni/NativeNfcManager.cpp @@ -1173,10 +1173,6 @@ static jboolean nfcManager_doInitialize(JNIEnv* e, jobject o) { if (stat == NFA_STATUS_OK) { // sIsNfaEnabled indicates whether stack started successfully if (sIsNfaEnabled) { - /* P2P is configured during initialization, but in reader mode platform - * which doesn't support beam feature, P2P is not getting paused. So - * after initialization sP2pEnabled flag is set to true */ - sP2pEnabled = true; sRoutingInitialized = RoutingManager::getInstance().initialize(getNative(e, o)); nativeNfcTag_registerNdefTypeHandler(); |