From b53dcf953b7599109c28c887873a6235a6901033 Mon Sep 17 00:00:00 2001 From: Christoph Loy Date: Fri, 6 Mar 2020 22:20:24 +0100 Subject: [PATCH] Add default case to MultiSelectedActionModeCallback#onActionItemClicked --- .../notes/android/MultiSelectedActionModeCallback.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/it/niedermann/owncloud/notes/android/MultiSelectedActionModeCallback.java b/app/src/main/java/it/niedermann/owncloud/notes/android/MultiSelectedActionModeCallback.java index c3b5aa2f..ae62b3c9 100644 --- a/app/src/main/java/it/niedermann/owncloud/notes/android/MultiSelectedActionModeCallback.java +++ b/app/src/main/java/it/niedermann/owncloud/notes/android/MultiSelectedActionModeCallback.java @@ -25,8 +25,8 @@ import it.niedermann.owncloud.notes.android.activity.NotesListViewActivity; import it.niedermann.owncloud.notes.android.fragment.AccountChooserDialogFragment; import it.niedermann.owncloud.notes.model.DBNote; import it.niedermann.owncloud.notes.model.ItemAdapter; -import it.niedermann.owncloud.notes.persistence.NotesDatabase; import it.niedermann.owncloud.notes.persistence.NoteServerSyncHelper.ViewProvider; +import it.niedermann.owncloud.notes.persistence.NotesDatabase; public class MultiSelectedActionModeCallback implements Callback { @@ -111,8 +111,9 @@ public class MultiSelectedActionModeCallback implements Callback { AccountChooserDialogFragment.newInstance().show(fragmentManager, NotesListViewActivity.class.getCanonicalName()); return true; } + default: + return false; } - return false; } @Override