Tizen v2.4 and v3.0 do not support the deprecated
API 'app_get_data_directory'.
The API 'app_get_data_path' is suggested to use instead.
Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12956
Change-Id: Id5784a19c6df8f4286cf66dd3ba14b35ac289f84
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
#if defined(OS_TIZEN)
bool GetDirAppDataTizen(base::FilePath& result) {
-#if defined(TIZEN_V_2_4)
+#if !defined(TIZEN_LEGACY_V_2_2_1) && !defined(TIZEN_V_2_3)
char* buffer;
if (!(buffer = app_get_data_path()))