minui: clean up some stuff, and avoid multiple key events on N1

Change-Id: I7d26a406eb200c866b2fbc841424ac698f6d3bf3
1 file changed