Merge "[DO NOT MERGE] Remove toast window immediately" into nyc-mr1-dev

This commit is contained in:
Svetoslav Ganov
2016-09-08 23:49:35 +00:00
committed by Android (Google) Code Review

View File

@@ -460,7 +460,7 @@ public class Toast {
// the view isn't yet added, so let's try not to crash.
if (mView.getParent() != null) {
if (localLOGV) Log.v(TAG, "REMOVE! " + mView + " in " + this);
mWM.removeView(mView);
mWM.removeViewImmediate(mView);
}
mView = null;