pkgmgr doesn't give the docPtr anymore while uninstalling. 89/12389/1
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 14 Nov 2013 09:52:36 +0000 (18:52 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 14 Nov 2013 09:52:36 +0000 (18:52 +0900)
commit1b3d24e1e65153fe341647600899b0d7348d762f
treef83fa9d143183b8e51f91ee9429e90e82c899730
parent24e3ee79eb8d7d23eb91236e67c162273960fa69
pkgmgr doesn't give the docPtr anymore while uninstalling.

While uninstalling a package, pkgmgr doesn't give the docPtr anymore.
So the plugin cannot parse the document anymore.
Now the plugin should validate the docPtr before try to parse it.
If the docPtr is NULL, skip to parse a document for safety.

Change-Id: Idaa6841e9c6068662d57832f4be99e1a3a9236f6
pkgmgr_shortcut/src/service_register.c