From f359d11a4d2c0b98de9687722f1487dcdad47a2b Mon Sep 17 00:00:00 2001 From: masensio Date: Thu, 15 May 2014 09:34:58 +0200 Subject: [PATCH] Fix: Download is started over and over when rotating the device --- src/com/owncloud/android/ui/activity/FileDisplayActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/owncloud/android/ui/activity/FileDisplayActivity.java b/src/com/owncloud/android/ui/activity/FileDisplayActivity.java index 47b94d0091..a96f6345fb 100644 --- a/src/com/owncloud/android/ui/activity/FileDisplayActivity.java +++ b/src/com/owncloud/android/ui/activity/FileDisplayActivity.java @@ -1028,6 +1028,7 @@ OnSslUntrustedCertListener, EditNameDialogListener { } removeStickyBroadcast(intent); + mWaitingToPreview = null; } private boolean isDescendant(String downloadedRemotePath) {