Hi, I'm just curious, is it the carrier or the manufacturer that distributes Android system updates?

I have a Android phone from a carrier that I'm no longer with. I've unlocked the phone and used it with a new carrier now. If the original carrier / manufacturer decides to release the new Android 4.0 update, will I be able to get it still? Or am I just out of luck?

Thanks.