Loading core/java/android/view/ViewRootImpl.java +6 −1 Original line number Diff line number Diff line Loading @@ -2167,8 +2167,13 @@ public final class ViewRootImpl implements ViewParent, } if (changedVisibility || regainedFocus) { // Toasts are presented as notifications - don't present them as windows as well boolean isToast = (mWindowAttributes == null) ? false : (mWindowAttributes.type == WindowManager.LayoutParams.TYPE_TOAST); if (!isToast) { host.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED); } } mFirst = false; mWillDrawSoon = false; Loading Loading
core/java/android/view/ViewRootImpl.java +6 −1 Original line number Diff line number Diff line Loading @@ -2167,8 +2167,13 @@ public final class ViewRootImpl implements ViewParent, } if (changedVisibility || regainedFocus) { // Toasts are presented as notifications - don't present them as windows as well boolean isToast = (mWindowAttributes == null) ? false : (mWindowAttributes.type == WindowManager.LayoutParams.TYPE_TOAST); if (!isToast) { host.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED); } } mFirst = false; mWillDrawSoon = false; Loading