Add @UnsupportedAppUsage annotations
For all remaining unannotated code. 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: I32861fa341a08f11a9c50c07a1ef7404dadf6bb6 Merged-In: I67c8b71ea535ebffb10bf577948bd4ccb8ca069d
This commit is contained in:
@@ -107,6 +107,7 @@ public class ColorMatrixColorFilter extends ColorFilter {
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@UnsupportedAppUsage
|
||||
public void setColorMatrixArray(@Nullable float[] array) {
|
||||
// called '...Array' so that passing null isn't ambiguous
|
||||
discardNativeInstance();
|
||||
|
||||
@@ -52,6 +52,7 @@ public class FontFamily {
|
||||
/**
|
||||
* @hide
|
||||
*/
|
||||
@UnsupportedAppUsage
|
||||
public long mNativePtr;
|
||||
|
||||
// Points native font family builder. Must be zero after freezing this family.
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.annotation.UnsupportedAppUsage;
|
||||
import android.graphics.fonts.FontVariationAxis;
|
||||
import android.text.FontConfig;
|
||||
import android.util.Xml;
|
||||
@@ -37,6 +38,7 @@ import java.util.regex.Pattern;
|
||||
public class FontListParser {
|
||||
|
||||
/* Parse fallback list (no names) */
|
||||
@UnsupportedAppUsage
|
||||
public static FontConfig parse(InputStream in) throws XmlPullParserException, IOException {
|
||||
try {
|
||||
XmlPullParser parser = Xml.newPullParser();
|
||||
|
||||
Reference in New Issue
Block a user