Merge "RESTRICT AUTOMERGE Make toasts non-clickable" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0f41dc420f
@@ -2613,6 +2613,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