platform_android: Fix duplicate condition checks