summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RSRuntimeException.java
diff options
context:
space:
mode:
Diffstat (limited to 'rs/java/android/renderscript/RSRuntimeException.java')
-rw-r--r--rs/java/android/renderscript/RSRuntimeException.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/rs/java/android/renderscript/RSRuntimeException.java b/rs/java/android/renderscript/RSRuntimeException.java
index b4b629e14184..d52a1c10add0 100644
--- a/rs/java/android/renderscript/RSRuntimeException.java
+++ b/rs/java/android/renderscript/RSRuntimeException.java
@@ -20,7 +20,12 @@ package android.renderscript;
/**
* Base class for all exceptions thrown by the Android
* RenderScript
+ *
+ * @deprecated Renderscript has been deprecated in API level 31. Please refer to the <a
+ * href="https://developer.android.com/guide/topics/renderscript/migration-guide">migration
+ * guide</a> for the proposed alternatives.
*/
+@Deprecated
public class RSRuntimeException
extends java.lang.RuntimeException {
public RSRuntimeException(String string) {