From f09101e78da3aafa7f2a28959d0d3366f4767aa1 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Thu, 18 Apr 2024 18:33:15 +0000 Subject: [PATCH] Revert^2 "Make embedded_launcher true by default" This reverts commit 578066be90d3e1960c02b5c80c29e92bca70a70b. Reason for revert: Relanding Change-Id: I63f01362cc11c02c4800ae1c21652c7cf4b8a799 --- python/binary.go | 2 +- python/python.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/binary.go b/python/binary.go index d6750c655..c84eeeedb 100644 --- a/python/binary.go +++ b/python/binary.go @@ -203,7 +203,7 @@ func (p *PythonBinaryModule) OutputFiles(tag string) (android.Paths, error) { } func (p *PythonBinaryModule) isEmbeddedLauncherEnabled() bool { - return Bool(p.properties.Embedded_launcher) + return BoolDefault(p.properties.Embedded_launcher, true) } func (b *PythonBinaryModule) autorun() bool { diff --git a/python/python.go b/python/python.go index d3cbd7695..3551eb6ef 100644 --- a/python/python.go +++ b/python/python.go @@ -59,7 +59,7 @@ type VersionProperties struct { // list of the Python libraries used only for this Python version. Libs []string `android:"arch_variant"` - // whether the binary is required to be built with embedded launcher for this version, defaults to false. + // whether the binary is required to be built with embedded launcher for this version, defaults to true. Embedded_launcher *bool // TODO(b/174041232): Remove this property }