Merge "Add maxTargetSDK equals P for UnsupportedAppUsage of sCached"

This commit is contained in:
Haoyu Zhang
2019-02-07 01:43:35 +00:00
committed by Android (Google) Code Review

View File

@@ -94,7 +94,8 @@ public class TextLine {
private final DecorationInfo mDecorationInfo = new DecorationInfo();
private final ArrayList<DecorationInfo> mDecorations = new ArrayList<>();
@UnsupportedAppUsage
/** Not allowed to access. If it's for memory leak workaround, it was already fixed M. */
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
private static final TextLine[] sCached = new TextLine[3];
/**