Merge "Fix crash while turning bluetooth on, due to a race condition." into froyo