fix: screenshot privacy setting not working on app relaunch (#1900)

This commit is contained in:
Aman Harwara
2022-10-28 19:31:15 +05:30
committed by GitHub
parent 9ac5bd0c27
commit 5a6f4fb35c
5 changed files with 34 additions and 0 deletions

View File

@@ -220,10 +220,12 @@ export class MobileDevice implements MobileDeviceInterface {
hideMobileInterfaceFromScreenshots(): void {
hide()
this.setAndroidScreenshotPrivacy(true)
}
stopHidingMobileInterfaceFromScreenshots(): void {
show()
this.setAndroidScreenshotPrivacy(false)
}
async getAllRawStorageKeyValues() {