Is getActivity() guaranteed to return non-null in a fragment onResume()?