Fix a bug about restarting apps 46/302046/2
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 30 Nov 2023 04:29:51 +0000 (13:29 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 30 Nov 2023 04:51:04 +0000 (13:51 +0900)
commit6d8b45a77bb799581ad6de5f7feb7682ae55b29d
treee725bd6eec516681208f9735eb20bfb989a4a2b0
parent13323067edacb0500d0d6555738cd35fdc93c1a9
Fix a bug about restarting apps

After updating the package, the application was not restarted by amd.
Because, if the application has the on-boot="true" option in
the tizen-manifest.xm, amd does not check whether the application is
able to restart or not.
If the api-version is greater than 7, amd must check whether the application
should be restarted or not.
This patch checks the api version to restart apps.

Change-Id: Ibfe8245782cd5b0d5b6dc3bd7eda3363379c85b7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/app_info/app_info_manager.cc
src/lib/boot_sequencer/boot_sequencer.cc