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
diff --git a/rs/java/android/renderscript/FileA3D.java b/rs/java/android/renderscript/FileA3D.java
index 278d309..9a6b0bc 100644
--- a/rs/java/android/renderscript/FileA3D.java
+++ b/rs/java/android/renderscript/FileA3D.java
@@ -19,6 +19,7 @@
import java.io.File;
import java.io.InputStream;
+import android.annotation.UnsupportedAppUsage;
import android.content.res.AssetManager;
import android.content.res.Resources;
@@ -53,6 +54,7 @@
* @deprecated in API 16
* RenderScript Mesh object
**/
+ @UnsupportedAppUsage
MESH (1);
int mID;
@@ -100,6 +102,7 @@
* @return type of a renderscript object the index entry
* describes
*/
+ @UnsupportedAppUsage
public EntryType getEntryType() {
return mEntryType;
}
@@ -109,6 +112,7 @@
* Used to load the object described by the index entry
* @return base renderscript object described by the entry
*/
+ @UnsupportedAppUsage
public BaseObj getObject() {
mRS.validate();
BaseObj obj = internalCreate(mRS, this);
@@ -212,6 +216,7 @@
*
* @return entry in the a3d file described by the index
*/
+ @UnsupportedAppUsage
public IndexEntry getIndexEntry(int index) {
if(getIndexEntryCount() == 0 || index < 0 || index >= mFileEntries.length) {
return null;
@@ -284,6 +289,7 @@
*
* @return a3d file containing renderscript objects
*/
+ @UnsupportedAppUsage
static public FileA3D createFromResource(RenderScript rs, Resources res, int id) {
rs.validate();