Disable deprecation for android.