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

Commit ba283992 authored by Kenneth Ford's avatar Kenneth Ford Committed by Gerrit Code Review
Browse files

Revert "Enable R8 full mode by default for apps"

This reverts commit 93d0bffa.

Reason for revert: Possible culprit for b/289285719

Change-Id: If818db9d38008ea9d8c7813b9f6fabc2975e8507
parent 93d0bffa
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1030,7 +1030,6 @@ func AndroidAppFactory() android.Module {

	module.Module.dexProperties.Optimize.EnabledByDefault = true
	module.Module.dexProperties.Optimize.Shrink = proptools.BoolPtr(true)
	module.Module.dexProperties.Optimize.Proguard_compatibility = proptools.BoolPtr(false)

	module.Module.properties.Instrument = true
	module.Module.properties.Supports_static_instrumentation = true
+2 −2
Original line number Diff line number Diff line
@@ -45,8 +45,8 @@ type DexProperties struct {
		// Whether to continue building even if warnings are emitted.  Defaults to true.
		Ignore_warnings *bool

		// If true, runs R8 in Proguard compatibility mode, otherwise runs R8 in full mode.
		// Defaults to false for apps, true for libraries and tests.
		// If true, runs R8 in Proguard compatibility mode (default).
		// Otherwise, runs R8 in full mode.
		Proguard_compatibility *bool

		// If true, optimize for size by removing unused code.  Defaults to true for apps,