Read kernel country code during registerWificondEventCallback()

During registerWificondEventCallback(), country code may be null or
empty. When last known country code is not available, try to read
the country code from kernel before updating to userspace.

Bug: 296552605
Test: Manual - start Wifi and Softap in 5GHz and trigger system_server
      crash (adb shell stop && adb shell pkill wificond && adb shell
      start). start SoftAp in 5GHz. Observe country code notification
      from wificond is received and SoftAp is able to start without delay.
Change-Id: Ica6faefec3a4491f2826a6678e20188ccb0bda4c
Signed-off-by: Purushottam Kushwaha <quic_pkushwah@quicinc.com>
1 file changed