Android secure layout
Some Android apps use the FLAG_SECURE flag to protect sensitive screens in applications. The flag treats the content of a window as secure, preventing it from appearing in screenshots or from being viewed on non-secure displays. In addition, Chrome incognito mode and customized device manufacturer settings, such as the secure layout enabled lock screen on Huawei Nova devices, also employ secure layout.
Devices running Android version 7.0 and higher support secure layout apps in the remote view.
Devices running an Android version lower than 7.0 do not support secure layout apps. The remote device viewer will not be able to open the app, and may freeze the device or show a blank screen. To recover from this, exit the secure layout app (if possible), and reconnect the device.
To view secure layout apps on these devices, do one of the following:
- Ask your developers to create a version of the app that does not use the FLAG_SECURE flag.
- Use the Android Enabler to remove the flag. For details, see Package an Android app manually.