Revert "Prework for migrating min_sdk_version from (kind+level) ..."
Revert submission 2457063 Reason for revert: Broken udc-dev Reverted changes: /q/submissionid:2457063 Change-Id: Ia17c962b9506c2bc9eaffdb34e99fc2082d42721
This commit is contained in:
@@ -839,7 +839,6 @@ func TestSnapshotWithBootclasspathFragment_HiddenAPI(t *testing.T) {
|
||||
compile_dex: true,
|
||||
public: {enabled: true},
|
||||
permitted_packages: ["mysdklibrary"],
|
||||
min_sdk_version: "current",
|
||||
}
|
||||
|
||||
java_sdk_library {
|
||||
|
@@ -319,7 +319,7 @@ func (s *sdk) buildSnapshot(ctx android.ModuleContext, sdkVariants []*sdk) {
|
||||
targetBuildRelease := s.targetBuildRelease(ctx)
|
||||
targetApiLevel, err := android.ApiLevelFromUser(ctx, targetBuildRelease.name)
|
||||
if err != nil {
|
||||
targetApiLevel = android.InvalidApiLevel
|
||||
targetApiLevel = android.FutureApiLevel
|
||||
}
|
||||
|
||||
// Aggregate all the sdkMemberVariantDep instances from all the sdk variants.
|
||||
|
Reference in New Issue
Block a user