diff options
| author | Svetoslav <svetoslavganov@google.com> | 2014-12-04 12:50:11 -0800 |
|---|---|---|
| committer | Svetoslav Ganov <svetoslavganov@google.com> | 2014-12-05 00:37:38 +0000 |
| commit | 3a0d878ab56475276c61d574af7651820a5cea5a (patch) | |
| tree | 52c7a0e7d8a075102a5797fcd6b000bd78971ed6 /core/java | |
| parent | bcaa315d488c18deb1ab4c6169dc4b4236982990 (diff) | |
| download | frameworks_base-3a0d878ab56475276c61d574af7651820a5cea5a.zip frameworks_base-3a0d878ab56475276c61d574af7651820a5cea5a.tar.gz frameworks_base-3a0d878ab56475276c61d574af7651820a5cea5a.tar.bz2 | |
Ensure all events from a showing window are dispatched.
Accessibility services may opt-in to introspect the interactive
windows on the screen. If window introspection is enabled there
is a case where some events from a showing window are received
before the updated window state from the window manager. Now the
window manager sends over the windows before notifying the app
for the focus change.
bug:18625996
Change-Id: Ic481e01efbe12dc92f090f799feeb236672fc7b3
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/view/Window.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/Window.java b/core/java/android/view/Window.java index 2e5c1e0..6944c53 100644 --- a/core/java/android/view/Window.java +++ b/core/java/android/view/Window.java @@ -364,7 +364,7 @@ public abstract class Window { /** * This hook is called whenever the window focus changes. See * {@link View#onWindowFocusChanged(boolean) - * View.onWindowFocusChanged(boolean)} for more information. + * View.onWindowFocusChangedNotLocked(boolean)} for more information. * * @param hasFocus Whether the window now has focus. */ |
