add missing code from old cdmaRIL

Change-Id: I67ebe41b2e975f4fd211b880d40f49cccfa89af9