Add multi-user support 09/16609/2
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 2 Apr 2014 07:29:06 +0000 (09:29 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 2 Apr 2014 07:29:06 +0000 (09:29 +0200)
Bug-Tizen: PTREL-378
Change-Id: I5e417653b721290a65c7c856bbdbde67426bf36a
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
src/manager/include/net_nfc_app_util_private.h

index 498b455..8bcc641 100644 (file)
 #ifndef NET_NFC_APP_UTIL_H
 #define NET_NFC_APP_UTIL_H
 
+/* For multi-user support */
+#include <tzplatform_config.h>
+
 #include "net_nfc_typedef.h"
 #include "net_nfc_typedef_private.h"
 #include <aul.h>
 
 #ifndef MESSAGE_STORAGE
-#define MESSAGE_STORAGE "/opt/share/service/nfc-manager"
+#define MESSAGE_STORAGE tzplatform_mkpath3(TZ_SYS_SHARE, "service", "nfc-manager")
 #endif
 
 net_nfc_error_e net_nfc_app_util_store_ndef_message(data_s *data);