diff options
author | tianran.x.li <tianran.x.li@sonymobile.com> | 2016-11-28 15:34:24 +0800 |
---|---|---|
committer | Shunta Sato <shunta.sato@sonymobile.com> | 2017-03-14 19:17:54 +0900 |
commit | a31d4edb7498956050e7c01b628ace9483e89164 (patch) | |
tree | 81e605e96451369166a8e5a8b3c2624da29bec92 /rs/java/android/renderscript/Program.java | |
parent | 06a192fa4929ab46c1cc20ea601cb33bb1deb6ba (diff) |
Skip ListPopupWindow position update if detached
Symptom:
A part of the option is displayed in the wrong location.
Root cause:
When the search item is clicked, the menu item will be
hidden. The PopupWindow will be detached from window and the
mAttachInfo property will be set to null. The anchor coordinates
will return x 0 and y 0.
Solution:
If the anchor view is detached from window, the ListPopupWindow will
not be update.
Bug: 36207919
Change-Id: I2b370c31542fae454592463e12313fdeaef25afe
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions