Android secure layout

Some Android apps use the FLAG_SECURE flag to protect sensitive screens in applications. For details, see the Android Developer documentation. 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.

Android versions 7 - 11: Secure layout apps are supported in the remote view.

Android 12, or a version earlier than Android 7.0:  Secure layout apps are not supported. 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.