Merge "Fix crash when switching to fragment with null name."