[DO NOT MERGE] Check Sdk level before calling the DeviceConfig API

Test: -m
Ignore-AOSP-First: nearby_not_in_aosp_yet
Fix: 273887455
Bug: 283345506
Change-Id: I6aef6fd9c91eaa73419261ee477099cebc5bdc1a
6 files changed