The flags are already properly set for activity and thus for other fragments. (cherry picked from commit 8c519994)