Bug 1013739 - [Dolphin][Flame][FFOS 1.4]Long touch the build-in keyboard
and income a call or alarm,the key touching is invalid.
 - Reset the state when the keyboard is hidden.
Merge pull request #20485 from RudyLu/keyboard/Bug1013739-persistent_alternativeMenu_master

Bug 1013739 - [Dolphin][Flame][FFOS 1.4]Long touch the build-in keyboard
r=timdream