summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeter Rustler <peter.rustler@basyskom.com>2015-03-02 11:19:41 +0100
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-03-18 08:46:11 +0000
commit155f550ff4f7fd7135bf73f70dd92c7b605b7664 (patch)
tree3f66e2798028bf87e828c2b8266a33af307f1284 /src
parent3bc0616eb9110959a36ed4746600e6069e4a9392 (diff)
Bugfix: Call stopDiscoveryId in stopDiscovery.
In stopDiscovery we need to call stopDiscoveryId and not startDiscoveryId. Change-Id: If19f36d53a7426d6616caf6599efdf6c8273eae7 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/nfc/android/androidjninfc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nfc/android/androidjninfc.cpp b/src/nfc/android/androidjninfc.cpp
index 7083e8d3..47e9aabd 100644
--- a/src/nfc/android/androidjninfc.cpp
+++ b/src/nfc/android/androidjninfc.cpp
@@ -99,7 +99,7 @@ bool stopDiscovery()
if (!aenv.jniEnv)
return false;
- return aenv.jniEnv->CallStaticBooleanMethod(nfcClass, startDiscoveryId);
+ return aenv.jniEnv->CallStaticBooleanMethod(nfcClass, stopDiscoveryId);
}
bool registerListener(AndroidNfcListenerInterface *listener)