Remove unused code as this library targets Android >= 4.0