Change code to store api_version of application 61/159061/6
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 7 Nov 2017 00:40:02 +0000 (09:40 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 14 Nov 2017 02:29:47 +0000 (02:29 +0000)
commit97907dbd2a3d67db5a8e5f35109279ef3741bbf9
tree7682467689c80477e8b76ff83481662994101a64
parent57fef3fe65c00e0f102155f3fe182b3a61cddc9c
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