diff options
author | Adam Powell <adamp@google.com> | 2013-04-04 10:47:52 -0700 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2013-04-04 10:51:09 -0700 |
commit | 8c16aa9fa225c277c3ead605b16dc697709bda27 (patch) | |
tree | 1e9309a7f5bda446db789bf20e08fa52cb58bdf5 /graphics/java/android/renderscript/RenderScript.java | |
parent | bbcf0852f786ea1c9cf6dca85f45487b7739bfab (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