summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPeeyush Agarwal <apeeyush@google.com>2017-01-06 14:41:35 +0000
committerPeeyush Agarwal <apeeyush@google.com>2017-01-06 15:51:53 +0000
commit1a0f36f42de36aa0a6799b57bc063ebf57cdac6b (patch)
tree3136e72bc0c0bd030d2e7022d5954b8a96cbdc56 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent3897ad6e84e034ca8f3b4fffd7f58234016651c1 (diff)
Fix KeyboardShortcuts show
The keyboard shortcuts should be shown only if they have not been dismissed already (by using the dismiss method). Check that sInstance is not null in the onKeyboardShortcutsReceived callback before displaying the dialog. Earlier, a call to activity's dismissKeyboardShortcutsHelper right after a call to requestShowKeyboardShortcuts would not dismiss the popup which is not the case now. Test: Manual Change-Id: I544708b003d6baab92cac2b6fce71698dbbdaf0c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions