Import utility class directly from the connectivity project

Bug: 344894225
Test: build
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d072fa9b13f00c1d22166be61fcf52178b058786)
Change-Id: Iaf50498d9a4f74b4453f81f89784ebe9fe12f4bf
1 file changed