[DO NOT MERGE] Remove toast window immediately

am: 6367e4ed30

Change-Id: Ie3fa91540cf941aa5156597899c0b5dff37ec87e
This commit is contained in:
Svet Ganov
2016-09-08 23:56:07 +00:00
committed by android-build-merger

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;