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: I087bb1cecbe59f1cf0c2e770c735d7a433722c6f
This commit is contained in:
Artur Satayev
2019-12-10 17:47:56 +00:00
committed by satayev
parent 65943dbc41
commit a5264903e2
100 changed files with 127 additions and 178 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