A federal court ruled that random searches of international travelers' phones and computers by the government violates the Fourth Amendment. The Massachusetts District Court ruled that Customs and Border Protection (CBP) and Immigration and Customs Enforcement (ICE) must have a specific suspicion to be able to search a person's phone or computer as they enter the country.
Read the article: The Hill