Skip to content

Conversation

@moehamade
Copy link
Contributor

@moehamade moehamade commented Jan 14, 2026

This commit adds a security feature that prevents recents automatic screen captures

Closes #595


  • Removed system recents screenshot on Android 13+

Checklist

@moehamade moehamade force-pushed the security/disable-screenshots-private-chats branch 2 times, most recently from a3d81f4 to c20a066 Compare January 18, 2026 11:33
This change prevents the app's content from being visible in the recents screen on Android 13 (Tiramisu) and newer devices.

It achieves this by calling `setRecentsScreenshotEnabled(false)` in the `onCreate` method of `MainActivity` after checking the device's SDK version. This enhances user privacy by hiding potentially sensitive information from the system's app overview.
@moehamade moehamade force-pushed the security/disable-screenshots-private-chats branch from c20a066 to 74505cb Compare January 18, 2026 11:42
@moehamade moehamade marked this pull request as ready for review January 18, 2026 12:41
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.

BCH-01-013: Autogenerated Screenshots Persist After Panic (Low)

1 participant