added support for pre-ics devices, using nine old android and appcompt
library