Skip to content
Commit 1a0f36f4 authored by Peeyush Agarwal's avatar Peeyush Agarwal
Browse files

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
parent 3897ad6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment