> Before traveling, back up your devices so you don’t lose anything permanently. Then delete anything you’re worried about being misinterpreted or saved by the government. That can include conversations that compromise the privacy of the people on the other end. You might delete messages about politics, contact information for political dissidents, apps that save offline copies of sensitive documents like Google Docs…
Meanwhile there are very few countries that don't have the same type of border security that we do for foreign nationals. This advice is just as pertinent if you travel to the UK or almost any EU country.