Change code to store api_version of application 81/160481/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 7 Nov 2017 00:40:02 +0000 (09:40 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Thu, 16 Nov 2017 08:19:10 +0000 (17:19 +0900)
commite78bb8ba599134ee26727e961fde8ec4cfa958c4
treed55df4b45933a48dcd801c060cd843b2dbc66db6
parent7614a8f26444f213b9bf193a23b1dee86a040f8f
Change code to store api_version of application

- Tpk and wgt pkg could have different api version in hybrid pkg.
- Previous code passes wgt's hybrid pkg so it could be issue
  if api version of tpk is different with wgt's.
- Change logic to store api version at application structure
  in parsing time and deliver it to security manager.

Change-Id: Ibe78bad3b4b87b20714097252a57c3aedbc8ee16
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/security_registration.cc
src/common/step/configuration/step_parse_manifest.cc