droidstealth / droid-stealth

THIS PROJECT IS DEPRECATED
GNU General Public License v2.0
61 stars 22 forks source link

94 95 encrypt preferences thumbnails (also 77 a bit) #110

Closed OlivierHokke closed 10 years ago

OlivierHokke commented 10 years ago

Closes #94, Closes #95,

77

WARNING: this branch invalidates your current preferences files and thumbnails. Please uninstall application first before launching this branch and ensure you have made backups of the things you want to keep!!!

First commit: Moved the creation of the ConcealCrypto to the Utils class and let the service get it from there. This way the EncryptedPreferences method can get the same ConcealCrypto instance in order to encrypt/decrypt the preference files. Now the preferences are saved in their encrypted state.

Second commit: Thumbnails are now saved encrypted. Created the thumbnail manager, which handles all the thumbnail related operations. It can create them with encryption, and it can retrieve them with decryption.

Third commit: Now the thumbnails get cached as long as we are in the same folder. Also reworked the check for whether a file is locked, unlocked or being processed, so basically fixing a part of #77

alexwalterbos commented 10 years ago

If one doesn't uninstall the previous app, all the add file buttons are gone; heads up.

I LOVE THE SWIRLY THINGY. IT'S SO SWIRLY.

And it really adds to the user experience.

OlivierHokke commented 10 years ago

Fixed the comments and a bug where images did not always show correctly. My tests show it does not happen anymore, but perhaps someone else can test as well. Happens when booting the app or adding files. Also, see #115 in case you wondered. Currently old images show until the correct one pops up. However, this goes quick enough so it is hardly noticable.