summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiwen 'Steve' Cai <jwcai@google.com>2019-07-17 11:19:28 -0700
committerJiwen 'Steve' Cai <jwcai@google.com>2019-07-17 11:26:38 -0700
commite4a834e13b17847c4794801b3423cc3492ff0180 (patch)
treea2bbbad1379cf1b48ef2c147a48b92a021ca3217
parent31f6537535ff2f349e017495e91a571403b33102 (diff)
downloaddevice_google_vrservices-e4a834e13b17847c4794801b3423cc3492ff0180.tar.gz
device_google_vrservices-e4a834e13b17847c4794801b3423cc3492ff0180.tar.bz2
device_google_vrservices-e4a834e13b17847c4794801b3423cc3492ff0180.zip
Set ro.surface_flinger.use_vr_flinger for XR targets
This is needed for SurfaceFlinger to load libvrflinger. Bug: 137325030 Test: Build and flash gsi_xr Change-Id: I52496660a7390c3650fda79345adde41a1ff45c6
-rw-r--r--xr/init/init.xr.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/xr/init/init.xr.rc b/xr/init/init.xr.rc
index d55201a..57a8e63 100644
--- a/xr/init/init.xr.rc
+++ b/xr/init/init.xr.rc
@@ -19,6 +19,7 @@ on init
# TODO(b/131327495): Re-enable this once VrHeadsetPowerPolicyService or its
# equivalent lands in Android master.
setprop ro.boot.vr 0
+ setprop ro.surface_flinger.use_vr_flinger 1
# Setup cpusets used by the VR services.
mkdir /dev/cpuset/kernel 0750 root system