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

Commit 1a7dd039 authored by Adam Powell's avatar Adam Powell
Browse files

Unhide transient state APIs on View

Change-Id: I0f14728c94cd3461431352e6f01311934aec9858
parent c13accb2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -23267,6 +23267,7 @@ package android.view {
    method public boolean hasFocus();
    method public boolean hasFocusable();
    method public boolean hasOnClickListeners();
    method public boolean hasTransientState();
    method public boolean hasWindowFocus();
    method public static android.view.View inflate(android.content.Context, int, android.view.ViewGroup);
    method protected void initializeFadingEdge(android.content.res.TypedArray);
@@ -23419,6 +23420,7 @@ package android.view {
    method public void setFocusable(boolean);
    method public void setFocusableInTouchMode(boolean);
    method public void setHapticFeedbackEnabled(boolean);
    method public void setHasTransientState(boolean);
    method public void setHorizontalFadingEdgeEnabled(boolean);
    method public void setHorizontalScrollBarEnabled(boolean);
    method public void setHovered(boolean);
+0 −4
Original line number Diff line number Diff line
@@ -4893,8 +4893,6 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
     * the framework should take special note to preserve when possible.
     *
     * @return true if the view has transient state
     *
     * @hide
     */
    @ViewDebug.ExportedProperty(category = "layout")
    public boolean hasTransientState() {
@@ -4906,8 +4904,6 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
     * framework should attempt to preserve when possible.
     *
     * @param hasTransientState true if this view has transient state
     *
     * @hide
     */
    public void setHasTransientState(boolean hasTransientState) {
        if (hasTransientState() == hasTransientState) return;