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

This commit is contained in:
Romain Guy
2011-01-21 13:23:25 -08:00
committed by Android (Google) Code Review

View File

@@ -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;
}
}
}