Check whether feature is enabled by compare with apex version

Replace the isFeatureEnabled function which is check with apex version.

Bug: 187946226
Test: Set device config flag and check the result

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1708088

Ignore-AOSP-First: manual cherry-pick from AOSP build automerge is broken
Change-Id: Iefbd6fa6a061614b83d115219f8939dee8794bb7
1 file changed
tree: b61304def531461e96f50ea87b5548abf62d0ddd
  1. tests/
  2. Tethering/
  3. .gitignore
  4. OWNERS
  5. PREUPLOAD.cfg
  6. TEST_MAPPING