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

Commit c3797f40 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am 4754f401: Merge "Avoid NullPointerException in getHandler()"

* commit '4754f401':
  Avoid NullPointerException in getHandler()
parents 1e4c6589 4754f401
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -10699,8 +10699,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * handler can be used to pump events in the UI events queue.
     */
    public Handler getHandler() {
        if (mAttachInfo != null) {
            return mAttachInfo.mHandler;
        final AttachInfo attachInfo = mAttachInfo;
        if (attachInfo != null) {
            return attachInfo.mHandler;
        }
        return null;
    }