Import change to allow forcing HWC2 via environment variable
Import NotKit's change to prioritize HWC2 over loading the HWC1 HALs into the system-compositor process.
System integrators can now do this by setting the necessary environment variable in /etc/default/lsc-wrapper.d/
as per ubports/development/core/ubuntu-touch-session!31 (merged).
Original commit message: server: check MIR_ANDROID_FORCE_HWC2 env to skip opening HWComposer HAL
Fixes: ubports/development/core/lomiri-system-compositor#12 (closed)
Edited by Alfred Neumayer