Revert "Remove BitmapFactory.decodeFile in main thread"

This reverts commit eb94a81974baf50b81684d8ba07832cc23771456.