Add secure setting disable_secure_windows
Adds a setting that disables secure windows on debuggable builds. To disable secure windows, use
adb shell settings put secure disable_secure_windows 1
and to re-enable secure windows, use
adb shell settings delete secure disable_secure_windows.
The setting is persisted between device reboots.
Bug: 309153458
Test: manually tested that recordings and screenshots capture secure windows after running the command
Change-Id: Ied0f9a4ecfe481f9a00f8572f39dba5cf99303b9
4 files changed