summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RSSurfaceView.java
diff options
context:
space:
mode:
authorMathew Inwood <mathewi@google.com>2018-08-06 11:18:49 +0100
committerMathew Inwood <mathewi@google.com>2018-08-06 11:19:48 +0100
commit1532447a7b186fc31026231996ade3befe8e9ffa (patch)
tree201c9440b3e3b8e05c79c430506258e03a378d04 /rs/java/android/renderscript/RSSurfaceView.java
parent5caebe341576d52502ce397f3c778fe259c17948 (diff)
Add @UnsupportedAppUsage annotations
For packages: android.renderscript This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: I016f6e720e79c48afe44f4690b5dd99fc81ae780 Merged-In: I1aa8ebca448547031b426a7b305c5c3d6fcf2652
Diffstat (limited to 'rs/java/android/renderscript/RSSurfaceView.java')
-rw-r--r--rs/java/android/renderscript/RSSurfaceView.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/rs/java/android/renderscript/RSSurfaceView.java b/rs/java/android/renderscript/RSSurfaceView.java
index 5db72d96fddc..561373cef625 100644
--- a/rs/java/android/renderscript/RSSurfaceView.java
+++ b/rs/java/android/renderscript/RSSurfaceView.java
@@ -16,6 +16,7 @@
package android.renderscript;
+import android.annotation.UnsupportedAppUsage;
import android.content.Context;
import android.util.AttributeSet;
import android.view.SurfaceHolder;
@@ -42,6 +43,7 @@ public class RSSurfaceView extends SurfaceView implements SurfaceHolder.Callback
* must call {@link android.opengl.GLSurfaceView#setRenderer} to
* register a renderer.
*/
+ @UnsupportedAppUsage
public RSSurfaceView(Context context) {
super(context);
init();
@@ -54,6 +56,7 @@ public class RSSurfaceView extends SurfaceView implements SurfaceHolder.Callback
* must call {@link android.opengl.GLSurfaceView#setRenderer} to
* register a renderer.
*/
+ @UnsupportedAppUsage
public RSSurfaceView(Context context, AttributeSet attrs) {
super(context, attrs);
init();