Fix android detection