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
This commit is contained in:
Mathew Inwood
2018-08-06 11:18:49 +01:00
parent 5caebe3415
commit 1532447a7b
19 changed files with 115 additions and 90 deletions

View File

@@ -16,6 +16,8 @@
package android.renderscript;
import android.annotation.UnsupportedAppUsage;
/**
* @hide
@@ -124,6 +126,7 @@ public class ProgramRaster extends BaseObj {
/**
* @deprecated in API 16
*/
@UnsupportedAppUsage
public Builder(RenderScript rs) {
mRS = rs;
mPointSprite = false;
@@ -133,6 +136,7 @@ public class ProgramRaster extends BaseObj {
/**
* @deprecated in API 16
*/
@UnsupportedAppUsage
public Builder setPointSpriteEnabled(boolean enable) {
mPointSprite = enable;
return this;
@@ -149,6 +153,7 @@ public class ProgramRaster extends BaseObj {
/**
* @deprecated in API 16
*/
@UnsupportedAppUsage
public ProgramRaster create() {
mRS.validate();
long id = mRS.nProgramRasterCreate(mPointSprite, mCullMode.mID);