Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b64534ceb2
@@ -2618,6 +2618,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
attrs.hideTimeoutMilliseconds = TOAST_WINDOW_TIMEOUT;
|
||||
}
|
||||
attrs.windowAnimations = com.android.internal.R.style.Animation_Toast;
|
||||
// Toasts can't be clickable
|
||||
attrs.flags |= WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user