Avoid referencing inexistant object to fix crash 38/51738/1
authorYoumin Ha <youmin.ha@samsung.com>
Fri, 13 Nov 2015 09:22:17 +0000 (18:22 +0900)
committerYoumin Ha <youmin.ha@samsung.com>
Fri, 13 Nov 2015 09:22:17 +0000 (18:22 +0900)
commitf6b99ca0cf897503336ed2fc8e6174a79ae3d1b0
tree9faa24cd77ed9f48d19bbaec293960f292828545
parentb58e1f3b3315e76a57388583310d4e24b79a1b81
Avoid referencing inexistant object to fix crash

When installing an app having only service-applications, there is no
ui-application element in the manifest. In this case, current log
printing code causes crash at runtime.
This commit fixes the crash.

Change-Id: I2aac4bf1a4a38dad3422728eaa85cf05c90602a9
Signed-off-by: Youmin Ha <youmin.ha@samsung.com>
src/tpk/step/step_parse.cc