[WifiLock] Move arg validity check earlier - prevent service crash

Move the argument validity check into the binder thread - which crashes
the caller as opposed to the service.

Bug: 143518156
Test: atest com.android.server.wifi
Change-Id: Ic7c3f59524aa6a0e2aa41b34dd8179b31dba84e3
4 files changed
tree: 2267f3d273fea2e4805b666a9d3574da0ac348cd
  1. service/
  2. PREUPLOAD.cfg