[automerger skipped] Merge "Ensure to switch to unprotected context if display is not secure." am: 048f1e93fd am: 4fafd3a9c2 -s ours

am skip reason: Change-Id Ieeda99a92e8d78f7418f7a1e0da9938bcd4753d5 with SHA-1 4d0996faee is in history

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id43d091d997d895e3e03febb58e415060d34f2c4