[tizen v3.0] Use app_get_data_path (instead of app_get_data_directory)
authorYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 11 May 2015 07:29:59 +0000 (16:29 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
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>
tizen_src/chromium_impl/content/common/paths_efl.cc

index 2c9477c..dd100d0 100644 (file)
@@ -38,7 +38,7 @@ const base::FilePath::CharType kApplicationDataBaseDir[] = FILE_PATH_LITERAL("db
 
 #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()))