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

This reverts commit 9118fd802cd442728e5cc60e7a6b2afea6ae6706.