take out redundant check for Android OS