Quellcode durchsuchen

Merge pull request #3777 from nextcloud/allowStateLoss

Allowing state loss when closing dialog while stopping activity
Tobias Kaminsky vor 6 Jahren
Ursprung
Commit
dbad1aa991

+ 1 - 1
src/main/java/com/owncloud/android/ui/activity/UploadFilesActivity.java

@@ -707,7 +707,7 @@ public class UploadFilesActivity extends FileActivity implements
     @Override
     protected void onStop() {
         if (dialog != null) {
-            dialog.dismiss();
+            dialog.dismissAllowingStateLoss();
         }
 
         super.onStop();