developer.android.com was blocked in China.
That didn't stop companies making the phones and installing the OS (through a third party or with special permission, or most likely through a proxy). There was some fork in Chinese, which could be accessed.
Also, I think the App store was blocked, and a Chinese App store set up instead.