Merge "Restrict unsupported API usage to View#mMinWidth/Height"
This commit is contained in:
committed by
Android (Google) Code Review
commit
9ce0e27cb9
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user