diff options
author | Calin Juravle <calin@google.com> | 2016-01-27 17:52:35 +0000 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2016-01-27 17:53:20 +0000 |
commit | 5e11a2936b13517b709d6641a37cefbade919258 (patch) | |
tree | 0db6ecefa9aa42115f52ee18014dd5497ca56784 /libnativebridge | |
parent | 6d5017803e5fec20fb0e1ee178412748eb2b7279 (diff) | |
download | core-5e11a2936b13517b709d6641a37cefbade919258.tar.gz core-5e11a2936b13517b709d6641a37cefbade919258.tar.bz2 core-5e11a2936b13517b709d6641a37cefbade919258.zip |
Revert "nativebrige: log code_cache access errors to stderr as well"
This reverts commit 6d5017803e5fec20fb0e1ee178412748eb2b7279.
Bug: 26675310
Change-Id: Id56b5e832c85f01fca0a2198499d24224c5a6878
Diffstat (limited to 'libnativebridge')
-rw-r--r-- | libnativebridge/native_bridge.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libnativebridge/native_bridge.cc b/libnativebridge/native_bridge.cc index 4eff89115..32a65ea04 100644 --- a/libnativebridge/native_bridge.cc +++ b/libnativebridge/native_bridge.cc @@ -413,19 +413,14 @@ bool InitializeNativeBridge(JNIEnv* env, const char* instruction_set) { if (errno == ENOENT) { if (mkdir(app_code_cache_dir, S_IRWXU | S_IRWXG | S_IXOTH) == -1) { ALOGW("Cannot create code cache directory %s: %s.", app_code_cache_dir, strerror(errno)); - fprintf(stderr, "Cannot create code cache directory %s: %s.", - app_code_cache_dir, strerror(errno)); ReleaseAppCodeCacheDir(); } } else { ALOGW("Cannot stat code cache directory %s: %s.", app_code_cache_dir, strerror(errno)); - fprintf(stderr, "Cannot stat code cache directory %s: %s.", - app_code_cache_dir, strerror(errno)); ReleaseAppCodeCacheDir(); } } else if (!S_ISDIR(st.st_mode)) { ALOGW("Code cache is not a directory %s.", app_code_cache_dir); - fprintf(stderr, "Code cache is not a directory %s.", app_code_cache_dir); ReleaseAppCodeCacheDir(); } |