Help Center/ Cloud Phone Host/ User Guide/ Using AOSP/ Disabling Screenshot Protection
Updated on 2023-08-02 GMT+08:00

Disabling Screenshot Protection

Function

Screenshots are not allowed for some applications in scenarios that have security requirements. If the application that you connect to the cloud phone displays images by transmitting real-time screenshots, a black screen may be displayed on this app. In this case, disable the screenshot protection and restart the cloud phone to view the actual image. By setting com.cph.disable_fb_permission to 1, you can take screenshots.

How to Use

Call the Restarting Cloud Phones API and set com.cph.disable_fb_permission to 1.

Constraints

  • 0: Screenshot is forbidden. 1: Screenshot is allowed.
  • The setting takes effect upon restart.