[Content] Removed deprecated storageType API usage 66/284466/1 accepted/tizen/unified/20221121.163714
authorPiotr Kosko/Tizen API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Thu, 17 Nov 2022 11:30:47 +0000 (12:30 +0100)
committerPiotr Kosko/Tizen API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Thu, 17 Nov 2022 11:30:54 +0000 (12:30 +0100)
commitb9243b3f775030b715c1a084e2411304a9ae208a
tree32738f7fe521f00c396afe5917ba24efd45303c7
parentfb51f0fb4ad46e899f47342947f23d3ec8cae794
[Content] Removed deprecated storageType API usage

This commit removes all platform code related to storageType and
provides only a hardcoded 'storageType_NOT_SUPPORTED' value for easier
analysis of possible issues after removal.

[ACR] https://code.sec.samsung.net/jira/browse/TWDAPI-289

[Verification]

2 failing content TCTs which uses removed API, need to be
removedi/modified not to check storage type:
error:
invalid enum value value "storageType_NOT_SUPPORTED" not in array ["INTERNAL", "EXTERNAL"]
- ContentChangeCallback_oncontentdiradded
- ContentChangeCallback_oncontentdirupdated

1 deprecated TCT need to be removed:
- ContentDirectory_storageType_attribute

Change-Id: I0cf883097ce47c342949346a3fffca7f525faee8
src/content/content_manager.cc
src/content/js/datatypes.js