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

Commit 752828f9 authored by Ember Rose's avatar Ember Rose
Browse files

Expose RenderNode#getUniqueId() as View#getUniqueDrawingId()

Test: atest ViewTest
Bug: 120282501
Change-Id: I797fbbc6ac40869fea4e29ce55697cfafd8bafef
parent b5ed9158
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -49072,6 +49072,7 @@ package android.view {
    method public float getTranslationX();
    method public float getTranslationY();
    method public float getTranslationZ();
    method public long getUniqueDrawingId();
    method public int getVerticalFadingEdgeLength();
    method public int getVerticalScrollbarPosition();
    method public int getVerticalScrollbarWidth();
+10 −0
Original line number Diff line number Diff line
@@ -23544,6 +23544,16 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        return mID;
    }
    /**
     * Get the identifier used for this view by the drawing system.
     *
     * @see RenderNode#getUniqueId()
     * @return A long that uniquely identifies this view's drawing component
     */
    public long getUniqueDrawingId() {
        return mRenderNode.getUniqueId();
    }
    /**
     * Returns this view's tag.
     *