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

Commit 45eb3ea6 authored by Filip Gruszczynski's avatar Filip Gruszczynski
Browse files

Revert "Fix NPE when requesting outsets for detached view."

This reverts commit b010291a.

Change-Id: If86ce92daac9e80d5fc2e9f707d937e7c6e91a74
parent b010291a
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -6672,11 +6672,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * @hide
     */
    public void getOutsets(Rect outOutsetRect) {
        if (mAttachInfo != null) {
        outOutsetRect.set(mAttachInfo.mOutsets);
        } else {
            outOutsetRect.setEmpty();
        }
    }
    /**
@@ -13570,7 +13566,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
            }
        }
        onDetachedFromWindows();
        onDetachedFromWindow();
        onDetachedFromWindowInternal();
        ListenerInfo li = mListenerInfo;