Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor(android): Use native API for secure display #204

Merged
merged 4 commits into from
Jun 7, 2024

Conversation

keshav-space
Copy link
Owner

@keshav-space keshav-space commented Jun 2, 2024

Refactors the security setting to use native code for secure display on Android.

Changes:

  • Remove dependency on flutter_windowmanager plugin.
  • Replace plugin-based implementation with native code for secure display on Android.
  • Add change listener to handle the chagne in secure display setting.
  • Also disable setRecentsScreenshotEnabled on SDK 33 or higher.

Related PRs:

@keshav-space keshav-space linked an issue Jun 2, 2024 that may be closed by this pull request
- Also disable setRecentsScreenshotEnabled for SDK above 33

Signed-off-by: Keshav Priyadarshi <[email protected]>
…lay setting

- setRecentsScreenshotEnabled is always off even if secure display is turned off

Signed-off-by: Keshav Priyadarshi <[email protected]>
@keshav-space keshav-space merged commit 092fdbd into main Jun 7, 2024
2 checks passed
@keshav-space keshav-space deleted the 203-secure-native branch June 7, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor Android secure display to use native API
1 participant