Allow power button to close an input method
am: d28e907183

Change-Id: I26176ab20b90ca2c5d286b3f34bfacc6527018b5