summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2015-11-03 09:12:18 +0900
committerHwankyu Jhun <h.jhun@samsung.com>2015-11-03 10:07:35 +0900
commit5b0d1c22c7986c6382d4daddf080da9961e332d5 (patch)
tree460bd35f2b2cd2868bea672b1fe50848ddb03422
parentf67eaecf8d7964c4be6df82df2016f5511ee5564 (diff)
downloadaul-1-5b0d1c22c7986c6382d4daddf080da9961e332d5.tar.gz
aul-1-5b0d1c22c7986c6382d4daddf080da9961e332d5.tar.bz2
aul-1-5b0d1c22c7986c6382d4daddf080da9961e332d5.zip
Change-Id: Idcb124bbf756ff50cc7552df14972ec380098b43 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r--am_daemon/amd_request.c2
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);