commit | 606af94785cb96d418d87fe5a90bb2e09ccfa97f | [log] [tgz] |
---|---|---|
author | Yohann Roussel <yroussel@google.com> | Tue May 12 17:40:52 2015 +0200 |
committer | Yohann Roussel <yroussel@google.com> | Tue May 26 09:39:02 2015 +0200 |
tree | 5d7d7b487834e4b488dc1a9a607f9aa980594584 | |
parent | 5c2dd97be0a197f6d4004f9528026025c7e4f248 [diff] |
Use Context.getFilesDir as a backup dex location On some devices it seems impossible to read or write the application data directory. There, creating code_cache at the proper location is impossible. In this case fallback to the 'files' directory. This may lead to not cleaning the useless extracted secondary dex files if one such devices is ever updated to L. Bug: https://code.google.com/p/android/issues/detail?id=79388 Change-Id: I4b6725572f10fd511992dc8a5043d2f135abd3a5