Fix background management feature 49/83149/5 accepted/tizen/common/20161212.185615 accepted/tizen/ivi/20161213.003140 accepted/tizen/mobile/20161213.002954 accepted/tizen/tv/20161213.003038 accepted/tizen/wearable/20161213.003103 submit/tizen/20161212.091026
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 9 Aug 2016 09:27:08 +0000 (18:27 +0900)
committerHwanKyu Jhun <h.jhun@samsung.com>
Mon, 12 Dec 2016 08:10:49 +0000 (00:10 -0800)
commit9f290301d5eec50554b16ada4652f67d6f860429
tree6e17622bc8479da4611083571991397b903e0a6f
parentbd152e3db5814f76ceb0d873be2fc44d8137f79e
Fix background management feature

While an application receives the AUL_SUSPEND event,
the allowed_bg value is changed to "false". AMD always
sends the AUL_SUSPEND event when the application is not
allowed to run in the background. And, the allowed_bg value
can be changed when the application receives the AUL_WAKE event.

- Requires
[aul] https://review.tizen.org/gerrit/#/c/83134/
[amd] https://review.tizen.org/gerrit/#/c/83044/

Change-Id: Ibaca3e8d0ba62f827b2abf2f58de44446c510ff1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/appcore-agent.c