Fix ElectronBeam for legacy targets, use debug.electronbeam.legacy=1 in build.prop ( Original patch by @ChepKun adapted to aospa)