[common] Check if external storage is supported. 02/216902/3
authorMichal Michalski <m.michalski2@partner.samsung.com>
Mon, 4 Nov 2019 16:19:47 +0000 (17:19 +0100)
committerMichal Michalski <m.michalski2@partner.samsung.com>
Tue, 5 Nov 2019 09:18:22 +0000 (10:18 +0100)
commite74055dca32f86e924c15ecda91c6ad2d95f0de8
tree5cf9b8572cf91a48641b007be7aecbd2f09c1e32
parentbef23b60598eaa78235ef4c6dab8183a4d1e123c
[common] Check if external storage is supported.

If external.storage feature is not supported on the device,
we shouldn't try to fetch external storage devices list.

[Verification]
On mobile devices external storages are fetched.
On wearable devices only internal storages are returned.

+ tct-filesystem-tizen-tests 100% pass rate (mobile, wearable)

Signed-off-by: Michal Michalski <m.michalski2@partner.samsung.com>
Change-Id: I965c91c278ec85adbb81e7ca98b4b98604011b23
src/common/common.gyp
src/common/filesystem/filesystem_provider_deviced.cc