[Android] globalManager pointer must be checked as it could be NULL