Check for null before accessing LinkProperties.

This will prevent crashes if the network state is temporarily out of
sync while connecting.

Fixes: 137551507

Test: build, deploy, multiple connects, RunCarSettingsRoboTests
Change-Id: I20e4c53978919ffc38d4809e221c877dfdc15750
5 files changed
tree: 1dba5e219d83ce1ef7b93e59dfca6ea174f8f503
  1. res/
  2. src/
  3. tests/
  4. Android.bp
  5. AndroidManifest.xml
  6. PREUPLOAD.cfg