ADD NPE check before shortcut key creation.

Bug: 156871815
Change-Id: I88132a51f80062eaa76da5838d20c5fe93224635
1 file changed