Ensure to switch to unprotected context if display is not secure. am: 4d0996faee am: bd4448ef0c

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8f450483299b168b04d24b93afb3cd9a8eccbe82