Fix to send AUL_K_SEQ_NUM normally 44/64044/1 accepted/tizen/common/20160330.120146 accepted/tizen/ivi/20160330.003421 accepted/tizen/mobile/20160330.003332 accepted/tizen/tv/20160330.003800 accepted/tizen/wearable/20160330.003802 submit/tizen/20160329.135348
authorSemun Lee <sm79.lee@samsung.com>
Tue, 29 Mar 2016 13:30:49 +0000 (22:30 +0900)
committerSemun Lee <sm79.lee@samsung.com>
Tue, 29 Mar 2016 13:30:49 +0000 (22:30 +0900)
- When AUL_K_ORG_CALLER_PID is set, we should send
AUL_K_SEQ_NUM normally. It is used in the receiver side

Change-Id: Ieca81e562902fa72f2e80a6479b776defc2d52a8
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
src/launch_with_result.c

index 05cb482..3a5a547 100644 (file)
@@ -439,6 +439,7 @@ API int aul_create_result_bundle(bundle *inb, bundle **outb)
        }
        bundle_add(*outb, AUL_K_CALLER_PID, pid_str);
 
+end:
        num_str = bundle_get_val(inb, AUL_K_SEQ_NUM);
        if (num_str == NULL) {
                _E("original msg does not have seq num");
@@ -448,7 +449,6 @@ API int aul_create_result_bundle(bundle *inb, bundle **outb)
        }
        bundle_add(*outb, AUL_K_SEQ_NUM, num_str);
 
-end:
        return AUL_R_OK;
 }