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

Commit 000b4d1a authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Don't strip soong APKs"

parents c04455e1 762fbfb7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -154,7 +154,6 @@ func (a *AndroidApp) uncompressOrStripDex(ctx android.ModuleContext) (uncompress
	strip = ctx.Config().DefaultStripDex()
	// TODO(ccross): don't strip dex installed on partitions that may be updated separately (like vendor)
	// TODO(ccross): don't strip dex on modules with LOCAL_APK_LIBRARIES equivalent
	// TODO(ccross): don't strip dex on modules that are preopted to system_other

	// Uncompress dex in APKs of privileged apps, and modules used by privileged apps.
	if ctx.Config().UncompressPrivAppDex() &&
@@ -174,6 +173,9 @@ func (a *AndroidApp) uncompressOrStripDex(ctx android.ModuleContext) (uncompress
		strip = false
	}

	// TODO(ccross): strip dexpropted modules that are not propted to system_other
	strip = false

	return uncompress, strip
}