diff options
author | Igor Murashkin <iam@google.com> | 2013-08-30 12:58:36 -0700 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2013-09-09 21:53:59 -0700 |
commit | a86ab640f7bb0bf3cb4eaed80473ca8c5d131903 (patch) | |
tree | 472883eaf9edff25136902d4976f275c56218b41 /core/jni | |
parent | ff44ed58a1e38ff830e74b0d73549ff01725852d (diff) | |
download | frameworks_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.cpp | 2 |
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"; |