summaryrefslogtreecommitdiffstats
path: root/api
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 /api
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 'api')
-rw-r--r--api/current.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/current.txt b/api/current.txt
index fe0fd6e..bc35bab 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -9926,7 +9926,7 @@ package android.graphics {
method public abstract void onFrameAvailable(android.graphics.SurfaceTexture);
}
- public static class SurfaceTexture.OutOfResourcesException extends java.lang.Exception {
+ public static deprecated class SurfaceTexture.OutOfResourcesException extends java.lang.Exception {
ctor public SurfaceTexture.OutOfResourcesException();
ctor public SurfaceTexture.OutOfResourcesException(java.lang.String);
}
@@ -27311,7 +27311,7 @@ package android.view {
field public static final int ROTATION_90 = 1; // 0x1
}
- public static class Surface.OutOfResourcesException extends java.lang.Exception {
+ public static class Surface.OutOfResourcesException extends java.lang.RuntimeException {
ctor public Surface.OutOfResourcesException();
ctor public Surface.OutOfResourcesException(java.lang.String);
}