diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2015-11-03 09:12:18 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2015-11-03 10:07:35 +0900 |
commit | 5b0d1c22c7986c6382d4daddf080da9961e332d5 (patch) | |
tree | 460bd35f2b2cd2868bea672b1fe50848ddb03422 | |
parent | f67eaecf8d7964c4be6df82df2016f5511ee5564 (diff) | |
download | aul-1-5b0d1c22c7986c6382d4daddf080da9961e332d5.tar.gz aul-1-5b0d1c22c7986c6382d4daddf080da9961e332d5.tar.bz2 aul-1-5b0d1c22c7986c6382d4daddf080da9961e332d5.zip |
Fix getting the appid on __dispatch_app_pause()submit/tizen/20151103.063941accepted/tizen/wearable/20151103.224816accepted/tizen/tv/20151103.224802accepted/tizen/mobile/20151103.224751
Change-Id: Idcb124bbf756ff50cc7552df14972ec380098b43
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | am_daemon/amd_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/am_daemon/amd_request.c b/am_daemon/amd_request.c index 1c41f57f..65241457 100644 --- a/am_daemon/amd_request.c +++ b/am_daemon/amd_request.c @@ -635,7 +635,7 @@ static int __dispatch_app_pause(int clifd, const app_pkt_t *pkt, struct ucred *c return -1; } - appid = (char *)bundle_get_val(kb, AUL_K_PKG_NAME); + appid = (char *)bundle_get_val(kb, AUL_K_APPID); ret = _status_app_is_running_v2(appid, cr->uid); if (ret > 0) { ret = _pause_app(ret, clifd); |