Did putting it in a bag of rice actually help? How long did you leave it in there?

DH went on a bike ride this morning, and apparently he didn't tighten the cap on his water bottle, and he fished his phone out of a pool of water in the bottom of the bag...