Pass the activity and upgrade check method.