diff options
author | Jeff Sharkey <jsharkey@android.com> | 2014-07-15 20:39:15 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2014-07-15 22:13:26 -0700 |
commit | 4ed745d359ada6986ac15d8718452e5c55f40170 (patch) | |
tree | fce91cd40193520da8012e839ac3615da51da57f /test-runner | |
parent | 78a130144bdd047665f00782c481d31edb3e5fb7 (diff) | |
download | frameworks_base-4ed745d359ada6986ac15d8718452e5c55f40170.zip frameworks_base-4ed745d359ada6986ac15d8718452e5c55f40170.tar.gz frameworks_base-4ed745d359ada6986ac15d8718452e5c55f40170.tar.bz2 |
Add code cache directory for apps.
This provides a directory where apps can cache compiled or optimized
code generated at runtime. The platform will delete all files in
this location on both app and platform upgrade.
Bug: 16187224
Change-Id: I641b21d841c436247f35ff235317e3a4ba520441
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/src/android/test/mock/MockContext.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockContext.java b/test-runner/src/android/test/mock/MockContext.java index 2ebce9b..8a2732d 100644 --- a/test-runner/src/android/test/mock/MockContext.java +++ b/test-runner/src/android/test/mock/MockContext.java @@ -195,6 +195,11 @@ public class MockContext extends Context { } @Override + public File getCodeCacheDir() { + throw new UnsupportedOperationException(); + } + + @Override public File getExternalCacheDir() { throw new UnsupportedOperationException(); } |