add sdk_version for settingsLib flag

This change adds sdk_verion for settingsLib flag. Before the
sdk_version is missing, and by default the libraries will be built
agaist the implementation of the framework jars.

The right sdk_version is assigned to allow the libraries to use the
right scope of apis.

Test: presubmit
Bug: 333003287
Change-Id: Ia156ef01b4e2c16a7bb0a880f8d13c1727e98c11
diff --git a/packages/SettingsLib/IllustrationPreference/Android.bp b/packages/SettingsLib/IllustrationPreference/Android.bp
index c3a91a2..cd8f584 100644
--- a/packages/SettingsLib/IllustrationPreference/Android.bp
+++ b/packages/SettingsLib/IllustrationPreference/Android.bp
@@ -47,6 +47,7 @@
     aconfig_declarations: "settingslib_illustrationpreference_flags",
 
     min_sdk_version: "30",
+    sdk_version: "system_current",
 
     apex_available: [
         "//apex_available:platform",