update progress handling in PgpDecryptVerifyOperation

- less progress messages overall
- report progress again based on input stream position, if filesize is known
- limit progress messages to one every 200ms while decrypting
- also fixed a bug in DecryptListFragment, the recycler view now reuses
  old views as intended instead of crossfading all the time.
This commit is contained in:
Vincent Breitmoser committed 2016-05-11 16:17:01 +02:00
1 parent b362668f81
commit 48758cdec5
4 files changed
+36 -40

No files matched your search

@@ -23,6 +23,8 @@ import java.io.InputStream;
* Wrapper to include size besides an InputStream
*/
public class InputData {
public static final int UNKNOWN_FILESIZE = -1;
private PositionAwareInputStream mInputStream;
private long mSize;
String mOriginalFilename;