Merge "Merge Android 14 QPR2 to AOSP main" into main

This commit is contained in:
Xin Li
2024-03-07 06:41:10 +00:00
committed by Gerrit Code Review
6 changed files with 10 additions and 8 deletions

View File

@@ -638,9 +638,12 @@ func NewConfig(cmdArgs CmdArgs, availableEnv map[string]string) (Config, error)
"framework-adservices": {}, "framework-adservices": {},
"framework-appsearch": {}, "framework-appsearch": {},
"framework-bluetooth": {}, "framework-bluetooth": {},
"framework-configinfrastructure": {},
"framework-connectivity": {}, "framework-connectivity": {},
"framework-connectivity-t": {}, "framework-connectivity-t": {},
"framework-devicelock": {},
"framework-graphics": {}, "framework-graphics": {},
"framework-healthfitness": {},
"framework-location": {}, "framework-location": {},
"framework-media": {}, "framework-media": {},
"framework-mediaprovider": {}, "framework-mediaprovider": {},

View File

@@ -33,4 +33,4 @@ package android
// * AOSP - xx9990000 // * AOSP - xx9990000
// * x-mainline-prod - xx9990000 // * x-mainline-prod - xx9990000
// * master - 990090000 // * master - 990090000
const DefaultUpdatableModuleVersion = "340090000" const DefaultUpdatableModuleVersion = "990090000"

View File

@@ -309,7 +309,8 @@ func aapt2ExtractExtraPackages(ctx android.ModuleContext, out android.WritablePa
var aapt2ConvertRule = pctx.AndroidStaticRule("aapt2Convert", var aapt2ConvertRule = pctx.AndroidStaticRule("aapt2Convert",
blueprint.RuleParams{ blueprint.RuleParams{
Command: `${config.Aapt2Cmd} convert --output-format $format $in -o $out`, Command: `${config.Aapt2Cmd} convert --enable-compact-entries ` +
`--output-format $format $in -o $out`,
CommandDeps: []string{"${config.Aapt2Cmd}"}, CommandDeps: []string{"${config.Aapt2Cmd}"},
}, "format", }, "format",
) )

View File

@@ -204,6 +204,8 @@ func (a *aapt) aapt2Flags(ctx android.ModuleContext, sdkContext android.SdkConte
// Flags specified in Android.bp // Flags specified in Android.bp
linkFlags = append(linkFlags, a.aaptProperties.Aaptflags...) linkFlags = append(linkFlags, a.aaptProperties.Aaptflags...)
linkFlags = append(linkFlags, "--enable-compact-entries")
// Find implicit or explicit asset and resource dirs // Find implicit or explicit asset and resource dirs
assets := android.PathsRelativeToModuleSourceDir(android.SourceInput{ assets := android.PathsRelativeToModuleSourceDir(android.SourceInput{
Context: ctx, Context: ctx,

View File

@@ -23,7 +23,6 @@ var (
"--format=v2", "--format=v2",
"--repeat-errors-max 10", "--repeat-errors-max 10",
"--hide UnresolvedImport", "--hide UnresolvedImport",
"--hide InvalidNullabilityOverride",
// Force metalava to ignore classes on the classpath when an API file contains missing classes. // Force metalava to ignore classes on the classpath when an API file contains missing classes.
// See b/285140653 for more information. // See b/285140653 for more information.
@@ -49,9 +48,6 @@ var (
// TODO(tnorbye): find owners to fix these warnings when annotation was enabled. // TODO(tnorbye): find owners to fix these warnings when annotation was enabled.
"--hide HiddenTypedefConstant", "--hide HiddenTypedefConstant",
"--hide SuperfluousPrefix", "--hide SuperfluousPrefix",
"--hide AnnotationExtraction",
// b/222738070
"--hide BannedThrow",
} }
MetalavaAnnotationsWarningsFlags = strings.Join(metalavaAnnotationsWarningsFlags, " ") MetalavaAnnotationsWarningsFlags = strings.Join(metalavaAnnotationsWarningsFlags, " ")

View File

@@ -3,8 +3,8 @@ ifdef INTERNAL_BUILD_ID_MAKEFILE
include $(INTERNAL_BUILD_ID_MAKEFILE) include $(INTERNAL_BUILD_ID_MAKEFILE)
endif endif
DEFAULT_PLATFORM_VERSION := TP1A RELEASE_PLATFORM_VERSION := TP1A
.KATI_READONLY := DEFAULT_PLATFORM_VERSION .KATI_READONLY := RELEASE_PLATFORM_VERSION
MIN_PLATFORM_VERSION := TP1A MIN_PLATFORM_VERSION := TP1A
MAX_PLATFORM_VERSION := TP1A MAX_PLATFORM_VERSION := TP1A
PLATFORM_VERSION_LAST_STABLE := 12 PLATFORM_VERSION_LAST_STABLE := 12