projects
/
framework
/
location
/
gps-manager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
upload tizen1.0 source
[framework/location/gps-manager.git]
/
gps-manager
/
plugin_module.c
diff --git
a/gps-manager/plugin_module.c
b/gps-manager/plugin_module.c
index
ca36092
..
93824ed
100644
(file)
--- a/
gps-manager/plugin_module.c
+++ b/
gps-manager/plugin_module.c
@@
-24,6
+24,7
@@
#include <dlfcn.h>
#include <unistd.h>
#include "plugin_module.h"
#include <dlfcn.h>
#include <unistd.h>
#include "plugin_module.h"
+#include "setting.h"
#include "debug_util.h"
#define SPECIFIC_PLUGIN_PATH_PREFIX "/usr/lib/libSLP-lbs-plugin-"
#include "debug_util.h"
#define SPECIFIC_PLUGIN_PATH_PREFIX "/usr/lib/libSLP-lbs-plugin-"
@@
-47,6
+48,7
@@
int load_plugin_module(char *specific_name, void **plugin_handle)
if (access (plugin_path, R_OK) != 0) {
strncpy(plugin_path, GPS_MANAGER_PLUGIN_PATH, sizeof(plugin_path));
if (access (plugin_path, R_OK) != 0) {
strncpy(plugin_path, GPS_MANAGER_PLUGIN_PATH, sizeof(plugin_path));
+ setting_set_int(REPLAY_ENABLED, 1);
}
*plugin_handle = dlopen(plugin_path, RTLD_NOW);
}
*plugin_handle = dlopen(plugin_path, RTLD_NOW);