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.