Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f971af79 authored by Liz Kammer's avatar Liz Kammer
Browse files

Set sdk_version for prebuilt_api to scope

Remove old TODO setting sdk_version to "current" as the associated bug
appears to have been fixed.

Test: m checkapi
Change-Id: I7737fbd17d2f54fc4578e04d07875b4b8d408ef9
parent ed62b9cc
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -83,8 +83,7 @@ func createImport(mctx android.LoadHookContext, module string, scope string, api
	}{}
	props.Name = proptools.StringPtr(prebuiltApiModuleName(mctx, module, scope, apiver))
	props.Jars = append(props.Jars, path)
	// TODO(hansson): change to scope after migration is done.
	props.Sdk_version = proptools.StringPtr("current")
	props.Sdk_version = proptools.StringPtr(scope)
	props.Installable = proptools.BoolPtr(false)

	mctx.CreateModule(ImportFactory, &props)