Commit 86dd768a authored by Benjamin REIS's avatar Benjamin REIS

fix android build

parent 8b51263c
...@@ -28,22 +28,18 @@ ...@@ -28,22 +28,18 @@
LINPHONE_BEGIN_NAMESPACE LINPHONE_BEGIN_NAMESPACE
const std::string &SysPaths::getDataPath (void *context) { const std::string &SysPaths::getDataPath (PlatformHelper *platformHelper) {
if (!context) { if (!platformHelper) {
return Utils::getEmptyConstRefObject<std::string>(); return Utils::getEmptyConstRefObject<std::string>();
} }
return platformHelper->getDataPath();
AndroidPlatformHelper *helper = static_cast<AndroidPlatformHelper>(context);
return helper->getDataPath();
} }
const std::string &SysPaths::getConfigPath (void *context) { const std::string &SysPaths::getConfigPath (PlatformHelper *platformHelper) {
if (!context) { if (!platformHelper) {
return Utils::getEmptyConstRefObject<std::string>(); return Utils::getEmptyConstRefObject<std::string>();
} }
return platformHelper->getConfigPath();
AndroidPlatformHelper *helper = static_cast<AndroidPlatformHelper>(context);
return helper->getConfigPath();
} }
LINPHONE_END_NAMESPACE LINPHONE_END_NAMESPACE
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment