1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-03 17:59:33 +02:00

Temp directory option

This commit is contained in:
Nikolay Pultsin 2014-04-12 14:17:02 +01:00
parent 487aeb2053
commit 3d49eb8366
8 changed files with 24 additions and 18 deletions

View file

@ -39,7 +39,7 @@ Library::~Library() {
std::string Library::cacheDirectory() const {
JNIEnv *env = AndroidUtil::getEnv();
jstring res = (jstring)AndroidUtil::StaticMethod_Paths_cacheDirectory->call();
jstring res = (jstring)AndroidUtil::StaticMethod_Paths_tempDirectory->call();
std::string str = AndroidUtil::fromJavaString(env, res);
if (res != 0) {
env->DeleteLocalRef(res);