diff options
author | Stephen Hines <srhines@google.com> | 2015-04-07 14:47:32 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2015-04-07 14:47:32 -0700 |
commit | b6b17a575fa844b74d7673a41481ff4db6273ed8 (patch) | |
tree | 573aa047f5908c37630af9b5f1460e9ef0402d6c /rs/java/android/renderscript/RenderScript.java | |
parent | 9e62d31fd11974fa9ee413d331b1591dba897171 (diff) | |
parent | 764f08ad841da1dc413bf4ec16a3f70e6ff67b1f (diff) |
resolved conflicts for merge of 764f08ad to master
Change-Id: I0a22225b2d26b6d806de2dcc70ffba29c96865b3
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
-rw-r--r-- | rs/java/android/renderscript/RenderScript.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/rs/java/android/renderscript/RenderScript.java b/rs/java/android/renderscript/RenderScript.java index 7ef17a72744c..fd19d496563a 100644 --- a/rs/java/android/renderscript/RenderScript.java +++ b/rs/java/android/renderscript/RenderScript.java @@ -16,7 +16,6 @@ package android.renderscript; -import java.io.File; import java.lang.reflect.Method; import java.util.concurrent.locks.ReentrantReadWriteLock; @@ -129,8 +128,6 @@ public class RenderScript { native void nContextInitToClient(long con); native void nContextDeinitToClient(long con); - static File mCacheDir; - // this should be a monotonically increasing ID // used in conjunction with the API version of a device static final long sMinorID = 1; @@ -146,23 +143,6 @@ public class RenderScript { return sMinorID; } - /** - * Sets the directory to use as a persistent storage for the - * renderscript object file cache. - * - * @hide - * @param cacheDir A directory the current process can write to - */ - public static void setupDiskCache(File cacheDir) { - if (!sInitialized) { - Log.e(LOG_TAG, "RenderScript.setupDiskCache() called when disabled"); - return; - } - - // Defer creation of cache path to nScriptCCreate(). - mCacheDir = cacheDir; - } - /** * ContextType specifies the specific type of context to be created. * |