From 37f5b608e1433a489e060dc45be9cc7bb03116d2 Mon Sep 17 00:00:00 2001 From: bohu Date: Fri, 19 Feb 2016 17:20:32 -0800 Subject: [PATCH] emulator: allows surfaceflinger to change qemu.gles value This is to allow surfaceflinger to always load vendor provided egl libraries first and fall back to software renderer, and then set the qemu.gles to correct value reflecting what libraries are actually used. bug: 27273457 Change-Id: Ifaca31aa2e562f50baa41fd228df9836bc3b1667 --- target/board/generic/sepolicy/surfaceflinger.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/board/generic/sepolicy/surfaceflinger.te b/target/board/generic/sepolicy/surfaceflinger.te index 4c354697a..e03d07ee7 100644 --- a/target/board/generic/sepolicy/surfaceflinger.te +++ b/target/board/generic/sepolicy/surfaceflinger.te @@ -1,2 +1,4 @@ allow surfaceflinger self:process execmem; allow surfaceflinger ashmem_device:chr_file execute; + +set_prop(surfaceflinger, qemu_prop)