adjust c++ call java function rename (#1498)

This commit is contained in:
W-MTZing
2018-09-05 13:43:28 +08:00
committed by minggo
parent d27e5a798c
commit b46209b4e7
4 changed files with 7 additions and 7 deletions
@@ -314,7 +314,7 @@ std::string FileUtilsAndroid::getWritablePath() const
// Fix for Nexus 10 (Android 4.2 multi-user environment)
// the path is retrieved through Java Context.getCacheDir() method
std::string dir("");
std::string tmp = JniHelper::callStaticStringMethod(JCLS_HELPER, "getCocos2dxWritablePath");
std::string tmp = JniHelper::callStaticStringMethod(JCLS_HELPER, "getWritablePath");
if (tmp.length() > 0)
{