projects
/
platform
/
core
/
api
/
webapi-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba91249
)
[NFC] Fix addHCEEventListener
author
Pawel Kaczmarek
<p.kaczmarek3@samsung.com>
Thu, 26 Mar 2015 12:39:36 +0000
(13:39 +0100)
committer
Rafal Galka
<r.galka@samsung.com>
Thu, 26 Mar 2015 12:55:12 +0000
(21:55 +0900)
[Verification]
Related TCT should pass
Change-Id: Ib438d82eb1271bc28fa024736c0a99f9830fab6b
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
src/nfc/nfc_api.js
patch
|
blob
|
history
diff --git
a/src/nfc/nfc_api.js
b/src/nfc/nfc_api.js
index
f1db9f0
..
6f63f30
100644
(file)
--- a/
src/nfc/nfc_api.js
+++ b/
src/nfc/nfc_api.js
@@
-91,7
+91,8
@@
ListenerManager.prototype.onListenerCalled = function(msg) {
} else if ('Transaction' === msg.type) {
this.listeners[key](msg.aid, msg.data);
} else if('HCEEventData' === msg.type) {
- this.listeners[key](new HCEEventData(msg));
+ var hceData = new HCEEventData(msg.result);
+ this.listeners[key](hceData);
}
}
}