| commit | e07694b24f7d12d72b084b6651356681ebd0efd6 | [log] [tgz] |
|---|---|---|
| author | Jason Sams <jsams@google.com> | Tue Apr 03 15:36:36 2012 -0700 |
| committer | Jason Sams <jsams@google.com> | Tue Apr 03 15:36:36 2012 -0700 |
| tree | e5cbb853579a105f5910c1c6640358e0cf69b5d9 | |
| parent | 991c8733c3b990b88edf5cf223aebe3d1c71b7f0 [diff] [blame] |
Validate context when using RS objects. BUG=6035422 Change-Id: I8586be0085b36767289e1f634111c0ff076cec3c
diff --git a/graphics/java/android/renderscript/AllocationAdapter.java b/graphics/java/android/renderscript/AllocationAdapter.java index d38f2df..85d86e5 100644 --- a/graphics/java/android/renderscript/AllocationAdapter.java +++ b/graphics/java/android/renderscript/AllocationAdapter.java
@@ -30,7 +30,7 @@ mAdaptedAllocation = alloc; } - int getID() { + int getID(RenderScript rs) { throw new RSInvalidStateException( "This operation is not supported with adapters at this time."); }