/var/lib/lxc/android/pre-start.d/30-no-surface-flinger is in lxc-android-config 0.162.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/sh
sed -i $LXC_ROOTFS_PATH/init.rc \
    -e '/^service surfaceflinger/{s/$/\n    disabled/}' \
    -e '/onrestart restart surfaceflinger$/d' \
    -e  's|\(/system/bin/ubuntuappmanager\)|\1.disabled|'
cat <<EOF >> $LXC_ROOTFS_PATH/init.rc
on property:sys.runsf=0
    stop surfaceflinger
on property:sys.runsf=1
    start surfaceflinger
EOF
 |