summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Romain Guy <romainguy@android.com> 2009-07-14 13:06:42 -0700
committer Romain Guy <romainguy@android.com> 2009-07-14 13:06:42 -0700
commite8b165253d03d67b30850cedee15e1214a453cb4 (patch)
tree8e53b8969f7796ddc0c61c12fffb9f87b1813900 /libs/ui/FramebufferNativeWindow.cpp
parent3660c09500a4d01eb6a733b5f0b15545855f8fe8 (diff)
Fixes #1977685. Prevent crash when the soft keyboard is brought up.
ViewRoot keeps a reference to the previously focused View and use this reference when trying to scroll the window to the focused rect. There situations however in which the previously focused view might have been removed from the view hierarchy. This happens on Home for instance when you trash an icon, or with ListView's items. This change ensures the previously focused view is still part of the view hierarchy.
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions