Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 865a085e authored by Chris Soyars's avatar Chris Soyars Committed by Steve Kondik
Browse files

Added DALVIK_SDEXT_CACHE_PREFIX

parent 48386f1f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -389,7 +389,7 @@ int create_cache_path(char path[PKG_PATH_MAX], const char *src)
        cache_path = DALVIK_SYSTEM_CACHE_PREFIX;
    }
    if (!strncmp(src, "/sd-ext", 7)) {
        cache_path = "/sd-ext/dalvik-cache/";
        cache_path = DALVIK_SDEXT_CACHE_PREFIX;
    }

    dstlen = srclen + strlen(cache_path) + 
+1 −0
Original line number Diff line number Diff line
@@ -66,6 +66,7 @@
#define DALVIK_CACHE_PREFIX   "/data/dalvik-cache/"
#define DALVIK_CACHE_POSTFIX  "/classes.dex"
#define DALVIK_SYSTEM_CACHE_PREFIX "/cache/dalvik-cache/"
#define DALVIK_SDEXT_CACHE_PREFIX "/sd-ext/dalvik-cache/"

#define PKG_NAME_MAX  128   /* largest allowed package name */
#define PKG_PATH_MAX  256   /* max size of any path we use */