summaryrefslogtreecommitdiffstats
path: root/core/jni
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2013-08-30 12:58:36 -0700
committerIgor Murashkin <iam@google.com>2013-09-09 21:53:59 -0700
commita86ab640f7bb0bf3cb4eaed80473ca8c5d131903 (patch)
tree472883eaf9edff25136902d4976f275c56218b41 /core/jni
parentff44ed58a1e38ff830e74b0d73549ff01725852d (diff)
downloadframeworks_base-a86ab640f7bb0bf3cb4eaed80473ca8c5d131903.zip
frameworks_base-a86ab640f7bb0bf3cb4eaed80473ca8c5d131903.tar.gz
frameworks_base-a86ab640f7bb0bf3cb4eaed80473ca8c5d131903.tar.bz2
Surface: Change OutOfResourcesException to be a runtime exception
- Deprecates SurfaceTexture.OutOfResourcesException, it wasn't used - Make all JNI code throw only Surface.OutOfResourcesException - Get rid of redundant SurfaceControl.OutOfResourcesException Bug: 10566539 Change-Id: I58126260771b9ccff6a69c672ce7719b9f98138d
Diffstat (limited to 'core/jni')
-rw-r--r--core/jni/android/graphics/SurfaceTexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android/graphics/SurfaceTexture.cpp b/core/jni/android/graphics/SurfaceTexture.cpp
index bacfdf6..0c9b3bc 100644
--- a/core/jni/android/graphics/SurfaceTexture.cpp
+++ b/core/jni/android/graphics/SurfaceTexture.cpp
@@ -37,7 +37,7 @@
namespace android {
static const char* const OutOfResourcesException =
- "android/graphics/SurfaceTexture$OutOfResourcesException";
+ "android/view/Surface$OutOfResourcesException";
static const char* const IllegalStateException = "java/lang/IllegalStateException";
const char* const kSurfaceTextureClassPathName = "android/graphics/SurfaceTexture";