(Android) Move input code to autoconfigs