Merge "[DO NOT MERGE] Remove toast window immediately" into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
821dd78512
@@ -460,7 +460,7 @@ public class Toast {
|
|||||||
// the view isn't yet added, so let's try not to crash.
|
// the view isn't yet added, so let's try not to crash.
|
||||||
if (mView.getParent() != null) {
|
if (mView.getParent() != null) {
|
||||||
if (localLOGV) Log.v(TAG, "REMOVE! " + mView + " in " + this);
|
if (localLOGV) Log.v(TAG, "REMOVE! " + mView + " in " + this);
|
||||||
mWM.removeView(mView);
|
mWM.removeViewImmediate(mView);
|
||||||
}
|
}
|
||||||
|
|
||||||
mView = null;
|
mView = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user