commit | 1a0f36f42de36aa0a6799b57bc063ebf57cdac6b | [log] [tgz] |
---|---|---|
author | Peeyush Agarwal <apeeyush@google.com> | Fri Jan 06 14:41:35 2017 +0000 |
committer | Peeyush Agarwal <apeeyush@google.com> | Fri Jan 06 15:51:53 2017 +0000 |
tree | 3136e72bc0c0bd030d2e7022d5954b8a96cbdc56 | |
parent | 3897ad6e84e034ca8f3b4fffd7f58234016651c1 [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