SoftApManager: Use SoftApModeConfiguration consistently

- Use SoftApModeConfiguration directly instead of unpacking it.
- Remove unneeded parameter since state machine is an inner class.
- Remove null check in dump() since constructor guarantees non-null.
- Split out setCountryCode() to make logic easier to follow.

Preparation for follow-up changes where I'll modify SoftApManager logic
and add a field to SoftApModeConfiguration.

Bug: 132705022
Test: atest SoftApManagerTest
Change-Id: I214d17a6f65bee15db6f7352795b04d2b3173edb
1 file changed
tree: 0f4aba1a99259a9e0b56ba7bd6ef65815a88b311
  1. service/
  2. PREUPLOAD.cfg