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

Commit edd6fde5 authored by Vladimir Marko's avatar Vladimir Marko Committed by Gerrit Code Review
Browse files

Merge "Stop installing a profile into an APEX if profiles are disabled."

parents a85f7bde 29e35e11
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -594,9 +594,12 @@ func (b *BootclasspathFragmentModule) provideApexContentInfo(ctx android.ModuleC

	if imageConfig != nil {
		info.modules = imageConfig.modules
		global := dexpreopt.GetGlobalConfig(ctx)
		if !global.DisableGenerateProfile {
			info.profilePathOnHost = imageConfig.profilePathOnHost
			info.profileInstallPathInApex = imageConfig.profileInstallPathInApex
		}
	}

	info.bootImageFilesByArch = bootImageFilesByArch