Fix crash issue of calling disable pkgs from storaged 33/158633/1
authorSangyoon Jang <jeremy.jang@samsung.com>
Thu, 2 Nov 2017 07:41:11 +0000 (16:41 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Thu, 2 Nov 2017 07:41:11 +0000 (16:41 +0900)
commit1900aa3dcb844188d07c52f7d72f49c52753d843
tree5f74c1253d02f1c6cbe34f8685c1b114e3363171
parent01e4786d6e558016554685b049f08499db6bfdb8
Fix crash issue of calling disable pkgs from storaged

Currently, storaged calls app2sd api which is synchronous when sdcard
being umounted. Then, app2sd-server calls storage_get_primary_sdcard()
which requests sdcard information to storaged synchronously. This causes
deadlock and storaged gets SIGABRT. However, app2sd-server doesn't need
to call storage_get_primary_sdcard() at current implementaion.

Change-Id: I6a005e6cc7d343929dfbfb8c77264609d457fe23
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
plugin/app2sd/server/app2sd_interface.c