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

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

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

* commit 'c3797f40':
  Avoid NullPointerException in getHandler()
parents 6f3a6a45 c3797f40
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -10735,8 +10735,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;
    }