Use new UnsupportedAppUsage annotation.

Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.

Bug: 145132366
Test: m && diff unsupportedappusage_index.csv \
      git diff HEAD^ HEAD | grep '^[+-][^+-]' | grep -v '.import'

Change-Id: I853372f3c6fef905553bb31be4f1bb48df735f7a
This commit is contained in:
Artur Satayev
2020-01-08 12:24:36 +00:00
parent c3fa568b75
commit 2ebb31c00c
77 changed files with 105 additions and 141 deletions

View File

@@ -17,14 +17,14 @@
package android.renderscript;
import android.compat.annotation.UnsupportedAppUsage;
import android.content.res.Resources;
import android.util.Log;
import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import android.annotation.UnsupportedAppUsage;
import android.content.res.Resources;
import android.util.Log;
/**
* @hide