diff options
author | Jason Sams <jsams@google.com> | 2012-04-03 15:36:36 -0700 |
---|---|---|
committer | Jason Sams <jsams@google.com> | 2012-04-03 15:36:36 -0700 |
commit | e07694b24f7d12d72b084b6651356681ebd0efd6 (patch) | |
tree | e5cbb853579a105f5910c1c6640358e0cf69b5d9 /graphics/java/android/renderscript/AllocationAdapter.java | |
parent | 991c8733c3b990b88edf5cf223aebe3d1c71b7f0 (diff) |
Validate context when using RS objects.
BUG=6035422
Change-Id: I8586be0085b36767289e1f634111c0ff076cec3c
Diffstat (limited to 'graphics/java/android/renderscript/AllocationAdapter.java')
-rw-r--r-- | graphics/java/android/renderscript/AllocationAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/renderscript/AllocationAdapter.java b/graphics/java/android/renderscript/AllocationAdapter.java index d38f2df37e15..85d86e5c1bf7 100644 --- a/graphics/java/android/renderscript/AllocationAdapter.java +++ b/graphics/java/android/renderscript/AllocationAdapter.java @@ -30,7 +30,7 @@ public class AllocationAdapter extends Allocation { mAdaptedAllocation = alloc; } - int getID() { + int getID(RenderScript rs) { throw new RSInvalidStateException( "This operation is not supported with adapters at this time."); } |