File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/src/main/java/it/niedermann/owncloud/notes/share Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public class NoteShareActivity extends BrandedActivity implements ShareeListAdap
7272 public static final String ARG_ACCOUNT = "ACCOUNT" ;
7373 public static final String FTAG_CHOOSER_DIALOG = "CHOOSER_DIALOG" ;
7474
75- private final ScheduledExecutorService executorService = Executors . newSingleThreadScheduledExecutor () ;
75+ private ScheduledExecutorService executorService ;
7676 private Future <?> future ;
7777 private static final long SEARCH_DELAY_MS = 500 ;
7878
@@ -86,6 +86,7 @@ public class NoteShareActivity extends BrandedActivity implements ShareeListAdap
8686 public void onCreate (@ Nullable Bundle savedInstanceState ) {
8787 super .onCreate (savedInstanceState );
8888
89+ executorService = Executors .newSingleThreadScheduledExecutor ();
8990 binding = ActivityNoteShareBinding .inflate (getLayoutInflater ());
9091 setContentView (binding .getRoot ());
9192 initializeArguments ();
You can’t perform that action at this time.
0 commit comments