summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorOren Blasberg <orenb@google.com>2016-04-05 14:59:36 -0700
committerOren Blasberg <orenb@google.com>2016-04-05 15:12:13 -0700
commit9022c7129ec763c9485f3a2de67b1e19eb77f462 (patch)
tree7fa5cb4d26bfaa33f55791bcb90e85565ec54c0e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentbcff1431ddec8f6c484b92ca539f743a95a06991 (diff)
Fix top level menu lingering when submenu opens.
We should be calling close(false), not dismiss(), when the submenu is opened. This change brings the code closer to what it was before the prior change to StandardMenuPopup, but preserves the ondismiss behavior we want for popup menus. The net change so far is that StandardMenuPopup, not MenuBuilder#performItemAction, handles closing the top level menu when a submenu is opened. But nonetheless, the onDismiss is not called when a submenu is opened; only when an actual real "dismiss" occurs. Bug: 28001958 Change-Id: Ia0f89f8fd4bc5494f6a048c993792adfe42d88ec
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions