Query installed storage for installed apps 34/74034/6 accepted/tizen/common/20160703.130824 accepted/tizen/ivi/20160701.034205 accepted/tizen/mobile/20160701.034338 accepted/tizen/tv/20160701.034057 accepted/tizen/wearable/20160701.034233 submit/tizen/20160630.141237 submit/tizen_common/20160701.180000
authorTomasz Iwanek <t.iwanek@samsung.com>
Fri, 10 Jun 2016 11:31:50 +0000 (13:31 +0200)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Thu, 30 Jun 2016 12:06:39 +0000 (05:06 -0700)
commite824130b4b13bd6e928ef29124e30136af9694ea
tree4ecee4620099653c3111c1b674ed9e9aaff810b4
parent61bd57f4f62394dae7c9074564e6fa5c4f27acab
Query installed storage for installed apps

Change in logic:
 - for installed apps query pkgmgr,
 - for new apps set internal storage by default;
   installed_storage value is overwriten in StepAcquireExternalStorage
   if initialization of sd card works well.

This is just some factoring. To verify:
 - run smoke tests for tpk,
 - check that move request is still working:
     tpk-backend -i ${package}
     tpk-backend -m ${pkgid} -t 1
     tpk-backend -m ${pkgid} -t 2

Change-Id: Id24ab0667e356917f2ed10dd36a6cef1e58edf95
src/common/pkgmgr_query.cc
src/common/step/configuration/step_parse_manifest.cc