Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3af32bd9 authored by Nader Jawad's avatar Nader Jawad
Browse files

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
parent f66699ae
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -15023,6 +15023,7 @@ package android.graphics.drawable {
    method public void invalidateSelf();
    method public boolean isAutoMirrored();
    method public boolean isFilterBitmap();
    method public boolean isProjected();
    method public boolean isStateful();
    method public final boolean isVisible();
    method public void jumpToCurrentState();
+4 −3
Original line number Diff line number Diff line
@@ -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;
    }