Minimal change to set ro.boot.hardware.egl=swiftshader
BUG: 127353494
BUG: 128842306
Test: Local build and boot
Change-Id: I50e1bdbcc1eb33a2bab919f4cbbbc8152345b2f7
diff --git a/host/commands/launch/flags.cc b/host/commands/launch/flags.cc
index db611d8..9ced63f 100644
--- a/host/commands/launch/flags.cc
+++ b/host/commands/launch/flags.cc
@@ -270,6 +270,9 @@
}
tmp_config_obj.set_wayland_socket(FLAGS_wayland_socket);
+ // TODO(b/77276633): This should be handled as part of the GPU configuration
+ tmp_config_obj.add_kernel_cmdline("androidboot.hardware.egl=swiftshader");
+
tmp_config_obj.set_serial_number(FLAGS_serial_number);
tmp_config_obj.set_cpus(FLAGS_cpus);