[DO NOT MERGE] WifiStateMachine: check verbosity level in update

When updating the setting for verbose logging, first check if we are
already at the desired setting.  If we are, return from
enableVerboseLogging immediately.  This avoids updating the size in the
underlying StateMachine log record vectors, and thereby avoids clearing
them.

BUG: 30675249
Change-Id: I005f236baa3149c46470e79dee3491e691908da0
TEST: runtest frameworks-wifi
TEST: manual testing
1 file changed
tree: acc0179fbda61578c337af1d516c2924349a9ff2
  1. service/