Ensure that yes_thread is always defined in AndroidInterface.

Fixes the immediate problems in #472.