[automerger skipped] Merge "Ensure to switch to unprotected context if display is not secure." am: 048f1e93fd am: 4fafd3a9c2 -s ours am: afb4c5f244 -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: I716c3ab6f719ce3e173a1960b9a23cb50222156c