Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #45 from DimiL/bug_1050621
Browse files Browse the repository at this point in the history
Bug 1050621 - [NFC] sometimes nfcd stuck when transfer files from androi.d device to flame. r=allstars.chh
  • Loading branch information
allstarschh committed Aug 15, 2014
2 parents a7141c4 + 39e513d commit 8f57e8a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
8 changes: 0 additions & 8 deletions src/NfcService.cpp
Expand Up @@ -188,14 +188,6 @@ void NfcService::handleLlcpLinkDeactivation(NfcEvent* event)

mP2pLinkManager->onLlcpDeactivated();
mMsgHandler->processNotification(NFC_NOTIFICATION_TECH_LOST, NULL);

// TODO : Handle in SE related code in the future ?
// Bug 961667 - [NFC] Multiple pairing when tapped phones together
// RF field should be reset when link deactivate.
ALOGD("%s: reset RF field", FUNC);
if (mState != STATE_NFC_OFF) {
sNfcManager->resetRFField();
}
}

void NfcService::handleLlcpLinkActivation(NfcEvent* event)
Expand Down
2 changes: 0 additions & 2 deletions src/interface/INfcManager.h
Expand Up @@ -159,8 +159,6 @@ class INfcManager {
*/
virtual int getDefaultLlcpRwSize() const = 0;

virtual void resetRFField() = 0;

/**
* NFC controller starts routing data in listen mode.
*
Expand Down
7 changes: 0 additions & 7 deletions src/nci/NfcManager.cpp
Expand Up @@ -431,13 +431,6 @@ void NfcManager::setP2pTargetModes(int modes)
// This function is not called by the NFC service nor exposed by public API.
}

// TODO : Handle in SE
void NfcManager::resetRFField()
{
startRfDiscovery(false);
startRfDiscovery(true);
}

bool NfcManager::doSelectSecureElement()
{
bool result = true;
Expand Down
2 changes: 0 additions & 2 deletions src/nci/NfcManager.h
Expand Up @@ -169,8 +169,6 @@ class NfcManager
*/
int getDefaultLlcpRwSize() const { return NfcManager::DEFAULT_LLCP_RWSIZE; };

void resetRFField();

/**
* NFC controller starts routing data in listen mode.
*
Expand Down

0 comments on commit 8f57e8a

Please sign in to comment.