Add some code to be compatible with CyanogenMod telephony