Merge "Restrict unsupported API usage to View#mMinWidth/Height"

This commit is contained in:
TreeHugger Robot
2018-11-26 13:16:21 +00:00
committed by Android (Google) Code Review

View File

@@ -4714,7 +4714,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
* of this view to at least this amount.
*/
@ViewDebug.ExportedProperty(category = "measurement")
@UnsupportedAppUsage
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
private int mMinHeight;
/**
@@ -4722,7 +4722,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
* of this view to at least this amount.
*/
@ViewDebug.ExportedProperty(category = "measurement")
@UnsupportedAppUsage
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
private int mMinWidth;
/**