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 window content will not be displayed. A message from UFTM that a secure window was detected will be displayed instead. You can navigate out of the window with the back/ home button. 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.