archethic-foundation / archethic-wallet

Archethic Wallet
GNU Affero General Public License v3.0
58 stars 25 forks source link

Remove the inability to take screenshots #1095

Closed redDwarf03 closed 1 month ago

redDwarf03 commented 1 month ago

in android/app/src/main/java/net/archethic/archethic_wallet/MainActivityArchethicWallet.java remove

   // Hides application preview (e.g. when switching between applications)
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);

This made it possible to block screenshots.

NB: Check that application preview management is blocked when changing applications

n0uki63 commented 1 month ago

Vote Yes for that (●'◡'●)