Merge "Fix VrDisplayTest failure" into rvc-qpr-dev am: 76fc311541

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12628222

Change-Id: If3a9ee4c37b6f9ecb8f088c228e832a41aea3a9f
This commit is contained in:
Charles Chen
2020-09-21 06:33:32 +00:00
committed by Automerger Merge Worker

View File

@@ -295,6 +295,7 @@ class Vr2dDisplay {
flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_OWN_CONTENT_ONLY;
flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_DESTROY_CONTENT_ON_REMOVAL;
flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE;
flags |= DisplayManager.VIRTUAL_DISPLAY_FLAG_TRUSTED;
final VirtualDisplayConfig.Builder builder = new VirtualDisplayConfig.Builder(
DISPLAY_NAME, mVirtualDisplayWidth, mVirtualDisplayHeight, mVirtualDisplayDpi);