Fix for Gamepad navigation.
Fix for Gamepad navigation.

Checking for keyboard input was overriding the navigation from any
gamepad input.

Tested on Linux and Android.

Change-Id: Ia1cf71daf99941080b81647b3db4d1f9a9ef2aad

google/flatui,google/flatui,google/flatui,google/flatui