Change internal storage media path returned from storage_get_directory() 70/184570/4 accepted/tizen/unified/20180719.152633 submit/tizen/20180719.052039
authorHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 19 Jul 2018 02:16:24 +0000 (11:16 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 19 Jul 2018 04:24:16 +0000 (13:24 +0900)
commitd719c4229080290e5000e3d51b7f69cd8c54543f
tree9ba7a433d3c7c98b05a5e48728fba7548a4cfbc6
parent924ade1b560e5798eb261dc1187df77eaa8f3410
Change internal storage media path returned from storage_get_directory()

(Before) /opt/usr/media/XXX
(After)  /opt/usr/home/USER/media/XXX

/opt/usr/media bind-mounted by /opt/usr/home/USER/media
is workaround for supporting legacy Tizen applications based on /opt/usr/media hard coding.
Strictly, public apis do not need to use legacy path (/opt/usr/media).

Change-Id: Ida39777ac40587719beb8d28b8f04172c98900e5
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
src/storage-internal.c
src/storage.c