wifi: get the correct mainline version when wifi is disabled

update getWifiStackVersion() to return the correct mainline version
even when wifi is disabled.

Bug: 166835054
Test: atest com.android.server.wifi
Test: manual test to confirm post-boot detection can detect SW version
change correctly

Change-Id: I3eb878145a761452ddcfdd0b5c424e78212fc799
Merged-In: I3eb878145a761452ddcfdd0b5c424e78212fc799
(cherry picked from commit 344206ba347eab115c979bc12179f3d703efa7b1)
2 files changed
tree: 0ea2837a0b8ab3188a09789e47067b72a592008d
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg