Loading services/core/java/com/android/server/wm/DisplayPolicy.java +4 −0 Original line number Diff line number Diff line Loading @@ -916,6 +916,10 @@ public class DisplayPolicy { AccessibilityManager.FLAG_CONTENT_TEXT); // Toasts can't be clickable attrs.flags |= WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; // Do not allow untrusted toast to customize animation. if (!win.mSession.mCanAddInternalSystemWindow) { attrs.windowAnimations = R.style.Animation_Toast; } break; case TYPE_BASE_APPLICATION: Loading Loading
services/core/java/com/android/server/wm/DisplayPolicy.java +4 −0 Original line number Diff line number Diff line Loading @@ -916,6 +916,10 @@ public class DisplayPolicy { AccessibilityManager.FLAG_CONTENT_TEXT); // Toasts can't be clickable attrs.flags |= WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE; // Do not allow untrusted toast to customize animation. if (!win.mSession.mCanAddInternalSystemWindow) { attrs.windowAnimations = R.style.Animation_Toast; } break; case TYPE_BASE_APPLICATION: Loading