The BBC says:
Canadian police can search the contents of a mobile phone after arrest, the Supreme Court of Canada has ruled. In a 4-3 decision, the court said a warrant was not needed as long as the search is directly related to the suspected crime and records are kept.
I resisted bolding the words that automatically stand out in bold to me.
The gist of the article is that police can search your phone if they have arrested you and really want to and that they can arrest you if they really want to search your phone.
"The intensely personal and uniquely pervasive sphere of privacy in our personal computers requires protection that is clear, practical and effective," Judge Andromache Karakatsanis wrote for the minority
The minority of people who don’t think it’s cool for police agencies to search our phones just because we’ve been arrested.