diff options
author | Adam Powell <adamp@google.com> | 2013-04-04 10:47:52 -0700 |
---|---|---|
committer | The Android Automerger <android-build@android.com> | 2013-04-04 16:27:39 -0700 |
commit | 5ecacd667cc4a047ef9a4d89d218059230fa26e7 (patch) | |
tree | 6d1c4e3294d6d902bae7957571435a6c27a778b7 /graphics/java/android/renderscript/RenderScript.java | |
parent | 2ca9536e91e38fd23a10b624abe159e4f42822ab (diff) |
Uphold common ordering expectations around action bar Home/Up dispatch
Some apps aren't particularly happy if a stray key event is dispatched
to a newly created window before its menu is prepared, causing the
action bar's Home/Up event to be dispatched. Ignore these clicks on
the Home/Up button before the menu goes through its initial prepare
step.
Note that it is still possible (and valid!) for Home/Up to be
dispatched even if the app chose to return false from
onCreateOptionsMenu or similar.
Bug 7085070
Change-Id: If4b7d5f8c5a08ce8a094f1919347604d78ddedfb
Diffstat (limited to 'graphics/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions