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