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:
parent
487aeb2053
commit
3d49eb8366
8 changed files with 24 additions and 18 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue