Not to set IME when the current IME was disabled, because framework will find an applicable IME when the current IME was unset.

Bug: 3186000

- This enables us to share the code between Settings and the framework.
- Removed the parameter for lastImeTicked because an applicable IME can be found in the framework.

Change-Id: Icfb6168c5a22506f225bfe58425adeb540835456
3 files changed