The geofence event provider should not be unloaded, even if it is not used anymore.
Dynamically unloading it may cause some glib-related issues.
Change-Id: Iafa6251feac361742a2eae332f92b2d24a11f43c
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
return supported;
}
+bool PlaceGeofenceProvider::unloadable()
+{
+ return false;
+}
+
int PlaceGeofenceProvider::subscribe(Json option, Json *requestResult)
{
int placeId = -1;
bool isSupported();
void getPrivilege(std::vector<const char*> &privilege);
+ bool unloadable();
+
private:
std::map<int, GeofenceMonitorHandle*> __handleMap;
};