aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Tang <gtang@affinegy.com>2017-04-01 12:34:53 -0500
committerPaul Sigurdson <psigurdson@affinegy.com>2017-04-14 05:02:48 +0000
commit0f2edbe155c1eed001f44a786f007c63fccec70b (patch)
treef275db715761b78f9771839c710d4d9cc2a81cc3
parent871588b79da4c2db43efbb07ddf1e75f9b9d308d (diff)
ASACORE-3541 invoking signalEmitter
fixed ER_BAD_ARG_8 when using SESSION_ID_ALL_HOSTED Change-Id: I49306f782d11c948f011b5392029f3765c6df8a8 Signed-off-by: George Tang <gtang@affinegy.com>
-rw-r--r--alljoyn_java/jni/alljoyn_java.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/alljoyn_java/jni/alljoyn_java.cc b/alljoyn_java/jni/alljoyn_java.cc
index dd937f1..c9f7bb1 100644
--- a/alljoyn_java/jni/alljoyn_java.cc
+++ b/alljoyn_java/jni/alljoyn_java.cc
@@ -8781,6 +8781,11 @@ QStatus JBusObject::Signal(const char* destination, SessionId sessionId, const c
if (!signal) {
return ER_BUS_OBJECT_NO_SUCH_MEMBER;
}
+
+ if (sessionId == SESSION_ID_ALL_HOSTED) {
+ return BusObject::Signal(destination, sessionId, *signal, args, numArgs, timeToLive, flags, NULL);
+ }
+
return BusObject::Signal(destination, sessionId, *signal, args, numArgs, timeToLive, flags, &msg);
}