From 157872886e8619d382aa3cf89d878dbb69433244 Mon Sep 17 00:00:00 2001 From: A117870935 Date: Thu, 13 Apr 2023 19:24:44 +0530 Subject: [PATCH 1/2] User check added when sync folder runs after user clears the data. --- .../com/owncloud/android/ui/activity/FileDisplayActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java index f372bfedd3..7f10ff0175 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java @@ -2009,7 +2009,7 @@ public class FileDisplayActivity extends FileActivity // the execution is slightly delayed to allow the activity get the window focus if it's being started // or if the method is called from a dialog that is being dismissed - if (TextUtils.isEmpty(searchQuery)) { + if (TextUtils.isEmpty(searchQuery) && getUser().isPresent()) { getHandler().postDelayed( new Runnable() { @Override From b1a1cf3c36ffab6718fc45e40a0668ba6d6cf8a4 Mon Sep 17 00:00:00 2001 From: A117870935 Date: Thu, 13 Apr 2023 19:28:16 +0530 Subject: [PATCH 2/2] Copyright updated. --- .../com/owncloud/android/ui/activity/FileDisplayActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java index 7f10ff0175..f838d3a6f4 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java @@ -11,7 +11,7 @@ * Copyright (C) 2016 ownCloud Inc. * Copyright (C) 2018 Andy Scherzinger * Copyright (C) 2019 Chris Narkiewicz - * Copyright (C) 2022 TSI-mc + * Copyright (C) 2023 TSI-mc * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2,