TP-66741 | Owais | checking for screen name change while disabling re… (#164)
This commit is contained in:
@@ -194,7 +194,12 @@ internal suspend fun captureScreen(
|
||||
bmp: Bitmap? = null,
|
||||
moduleName: String? = null
|
||||
): Bitmap? {
|
||||
if (isScreenDisabled(screenName, moduleName) || canvas == null || bmp == null) {
|
||||
if (
|
||||
isScreenDisabled(screenName, moduleName) ||
|
||||
isScreenDisabled(AlfredManager.currentScreenName, moduleName) ||
|
||||
canvas == null ||
|
||||
bmp == null
|
||||
) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user