mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Merge pull request #11518 from nextmcloud/nmc/1939-syncFolderRuntimeException
User check added when sync folder runs after user clears the data.
This commit is contained in:
commit
043f6306dd
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
* Copyright (C) 2016 ownCloud Inc.
|
* Copyright (C) 2016 ownCloud Inc.
|
||||||
* Copyright (C) 2018 Andy Scherzinger
|
* Copyright (C) 2018 Andy Scherzinger
|
||||||
* Copyright (C) 2019 Chris Narkiewicz <hello@ezaquarii.com>
|
* Copyright (C) 2019 Chris Narkiewicz <hello@ezaquarii.com>
|
||||||
* Copyright (C) 2022 TSI-mc
|
* Copyright (C) 2023 TSI-mc
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License version 2,
|
* it under the terms of the GNU General Public License version 2,
|
||||||
|
@ -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
|
// 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
|
// 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(
|
getHandler().postDelayed(
|
||||||
new Runnable() {
|
new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue