I suspect that, not only did they anticipate it, they fully expected it. HTC's Sense UI started on Windows Mobile before HTC ever sold an Android device. Google's customers for Android aren't you or I, they are the device manufacturers and carriers and a customizable user experience is a big selling point for a company like HTC.