Fix code for devices before ICS.