lineage-sdk: Make org.lineageos.platform compile again

Change-Id: I30a509684a32ed1013e8f23e40894d23177f3fa8
diff --git a/Android.bp b/Android.bp
index cae7520..fbd1f1e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,5 @@
 //
-// Copyright (C) 2018-2019 The LineageOS Project
+// Copyright (C) 2018-2020 The LineageOS Project
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -77,11 +77,17 @@
 java_library {
     name: "org.lineageos.platform",
     installable: true,
+    sdk_version: "core_platform",
     static_libs: [
         "telephony-ext",
     ] + lineage_sdk_LOCAL_STATIC_ANDROID_LIBRARIES + lineage_sdk_LOCAL_STATIC_JAVA_LIBRARIES,
 
     libs: [
+        // order matters: classes in framework-wifi are resolved before framework, meaning
+        // @hide APIs in framework-wifi are resolved before @SystemApi stubs in framework
+        "framework-wifi.impl",
+        "framework",
+
         "services",
     ],