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

Commit d8b9d7cd authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

Merge "Don't set a Toast's view to null when enqueued several times. Bug #3374386" into honeycomb

parents 05aa0827 2152ca58
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -301,6 +301,8 @@ public class Toast {
        final Runnable mHide = new Runnable() {
            public void run() {
                handleHide();
                // Don't do this in handleHide() because it is also invoked by handleShow()
                mNextView = null;
            }
        };

@@ -407,7 +409,6 @@ public class Toast {
                }

                mView = null;
                mNextView = null;
            }
        }
    }