You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if we set the passcode or the pattern as lock for the app, the screen is black from that screen on, in programs such as Vysor, or if we try to record the screen in some way.
Expected behaviour
The passcode or pattern unlock screen should appear in black when recording, but not the rest of the screens.
Steps to reproduce
Set passcode or pattern
Close the app
Open the app while recording it or watching it with Vysor
Unlock the app
From that moment, every screen appear in black
The code responsible for this is located in MainApp.kt:
if (!enabledLogging) {
// To enable biometric you need to enable passCode or pattern, so no need to add check to if
if (passCodeEnabled || patternCodeEnabled) {
activity.window.addFlags(WindowManager.LayoutParams.FLAG_SECURE)
} else {
activity.window.clearFlags(WindowManager.LayoutParams.FLAG_SECURE)
}
} // else, let it go, or taking screenshots & testing will not be possible
We should check if this makes sense and if so, how to fix this unexpected behaviour.
Environment data
ownCloud app version: 2.19
The text was updated successfully, but these errors were encountered:
Actual behaviour
Currently, if we set the passcode or the pattern as lock for the app, the screen is black from that screen on, in programs such as Vysor, or if we try to record the screen in some way.
Expected behaviour
The passcode or pattern unlock screen should appear in black when recording, but not the rest of the screens.
Steps to reproduce
The code responsible for this is located in
MainApp.kt
:We should check if this makes sense and if so, how to fix this unexpected behaviour.
Environment data
ownCloud app version: 2.19
The text was updated successfully, but these errors were encountered: