Fix system_server_crash caused by ArrayIndexOutOfBoundsException

catch the ArrayIndexOutOfBoundsException to prevent system_server crash
in setPsk.

Bug: 141290610
Test: atest com.android.server.wifi
Change-Id: Ie8745dfe40dccc639be546bc499375f752b835e7
1 file changed
tree: 90628b2dfac91f78e517665d12514ddde5ec83dc
  1. service/
  2. PREUPLOAD.cfg