Make Drawable#isProjected public
Modify Drawable public API to no longer mark isProjected as hidden. This makes the Drawable API consistent with the public RenderNode API and enables androidx to move away from accessing this method through reflection Bug: 120159096 117521142 Test: none Change-Id: Icdd778bf3d8842eb2d69e5872f704c7e96f915fa
This commit is contained in:
@@ -713,11 +713,12 @@ public abstract class Drawable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether this drawable requests projection.
|
||||
* Whether this drawable requests projection. Indicates that the
|
||||
* {@link android.graphics.RenderNode} this Drawable will draw into should be drawn immediately
|
||||
* after the closest ancestor RenderNode containing a projection receiver.
|
||||
*
|
||||
* @hide magic!
|
||||
* @see android.graphics.RenderNode#setProjectBackwards(boolean)
|
||||
*/
|
||||
@UnsupportedAppUsage
|
||||
public boolean isProjected() {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user