Change behavior of app_info_create correctly 45/91145/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 6 Oct 2016 05:39:39 +0000 (14:39 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 6 Oct 2016 05:39:39 +0000 (14:39 +0900)
commitdc6c6ae2937d59a66d5b3718747d77f909f97401
tree7e382aebf8337f35e65c025761348192f09597c6
parent6a6b68d975ddb2aa13e6cc14f4d2e9a3250fa1b5
Change behavior of app_info_create correctly

- Changed to getting appinfo based on appid first
- If it fails, treat appid as pkgid and try to get
appinfo of mainapp of pkg

Change-Id: I3785bd17f529dc11e3a39ae46b721be6aa44b1f1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/app_info.c