The macrumors article links to Omdia report which says Samsung market share is 22% and it retained the top spot while Apple market share is 20%.
That 24% market share for Samsung is from the andoidauthority article, which cites counterpoint research.