Skip to content

Show screenshot block toast only when overlay is active (android)#128

Merged
gbumps merged 1 commit into
gbumps:masterfrom
eatorb:master
Mar 19, 2026
Merged

Show screenshot block toast only when overlay is active (android)#128
gbumps merged 1 commit into
gbumps:masterfrom
eatorb:master

Conversation

@eatorb
Copy link
Copy Markdown
Contributor

@eatorb eatorb commented Mar 18, 2026

This pull request introduces an enhancement to the screenshot event handling logic in ScreenGuardModule.java. The most notable change is the addition of a conditional check to ensure that a toast notification is only shown when the screen guard overlay is active.

Screenshot blocking logic improvements:

  • Added a check to display the screenshot blocked toast notification only if ScreenGuardOverlay is activated, preventing unnecessary notifications when the overlay is not active. (android/src/main/java/com/screenguard/ScreenGuardModule.java)

@gbumps
Copy link
Copy Markdown
Owner

gbumps commented Mar 19, 2026

LGTM, merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants