From 0493165fde8e23edd3dd3e91f5eb6fc0d62892f6 Mon Sep 17 00:00:00 2001 From: Pedro Loureiro Date: Wed, 22 Dec 2021 19:53:01 +0000 Subject: [PATCH] Rename updatable-library to apex-library Mostly for consistency with the names used in related changes. Test: m nothing Bug: 191978330 Change-Id: I34637986ead1c671bcc649891aceb3fe0f44b52a --- java/sdk_library.go | 6 +++--- java/sdk_library_test.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/java/sdk_library.go b/java/sdk_library.go index b8ab69abb..57ab2686f 100644 --- a/java/sdk_library.go +++ b/java/sdk_library.go @@ -2573,11 +2573,11 @@ func (module *sdkLibraryXml) permissionsContents(ctx android.ModuleContext) stri implicitUntilAttr := formattedOptionalSdkLevelAttribute(ctx, "on-bootclasspath-before", module.properties.On_bootclasspath_before) minSdkAttr := formattedOptionalSdkLevelAttribute(ctx, "min-device-sdk", module.properties.Min_device_sdk) maxSdkAttr := formattedOptionalSdkLevelAttribute(ctx, "max-device-sdk", module.properties.Max_device_sdk) - // is understood in all android versions whereas is only understood from API T (and ignored before that). - // similarly, min_device_sdk is only understood from T. So if a library is using that, we need to use the updatable-library to make sure this library is not loaded before T + // is understood in all android versions whereas is only understood from API T (and ignored before that). + // similarly, min_device_sdk is only understood from T. So if a library is using that, we need to use the apex-library to make sure this library is not loaded before T var libraryTag string if module.properties.Min_device_sdk != nil { - libraryTag = `