Update sample IME and autofill provider to use the new support lib APIs am: 0c501136ca

Change-Id: Iec8427f903309e5cc10b693dd82484a9b1705763