Revert "Fix fatal exception due to missing looper for current thread."

This reverts commit ac83ac05120b7bf22335dc57b2bf2891c0da55e1.