Commit graph

1291 commits

Author SHA1 Message Date
Christoph Loy
3763714c97
Switch to fixed timeout based app locking 2020-03-09 22:03:03 +01:00
Christoph Loy
5782a49e66
Merge branch 'master' into 354-password-protection 2020-03-08 12:45:14 +01:00
Christoph Loy
1c9116d93f Merge ifs to satisfy PMD... 2020-03-08 10:10:57 +01:00
Christoph Loy
eafadef56c Make parameter in ContextBasedRangeFormattingCallback#addMarkdown effectively final 2020-03-08 10:10:57 +01:00
Christoph Loy
af6b92fa22 Make parameter of SearchableBaseNoteFragment#indexOfNth effectively final 2020-03-08 10:10:57 +01:00
Christoph Loy
5daf7fcc10 Merge two ifs in NotesTextWatcher 2020-03-08 10:10:57 +01:00
Christoph Loy
8f8ae9772f Reduce visibility of members in persistence 2020-03-08 10:10:57 +01:00
Christoph Loy
26018d359b Make NavigationAdapter#assignItem private 2020-03-08 10:10:57 +01:00
Christoph Loy
f631326566 Make BaseNoteFragment#isNew protected 2020-03-08 10:10:57 +01:00
Christoph Loy
ab3d742a43 Make localAccount in NoteListWidgetConfiguration private 2020-03-08 10:10:57 +01:00
Christoph Loy
bd8991e9f8 Make ExceptionActivity#close private 2020-03-08 10:10:57 +01:00
Christoph Loy
a6d1a0822f Remove unused variable 2020-03-08 10:10:57 +01:00
Christoph Loy
8b512e9322 Add explicit visibility to members of Timeslot 2020-03-08 10:10:57 +01:00
Christoph Loy
d93ee8a636 Reduce visibility of AboutFragmentLicenseTab#openLicense 2020-03-08 10:10:57 +01:00
Christoph Loy
27a298fd97 Add (useless) break to CategoryAdapter to satisfy PMD 2020-03-08 10:10:57 +01:00
Christoph Loy
1759fdbf18 Set access modifier in BaseNoteFragment 2020-03-08 10:10:57 +01:00
Christoph Loy
3c5e08984c Reduce visiblity of members in ExceptionActivity 2020-03-08 10:10:57 +01:00
Christoph Loy
524ad9d0ce Fix derp in NoteUtil 2020-03-08 10:10:57 +01:00
Christoph Loy
053167e014 Make parameters in AlwaysAutoCompleteTextView effectivly final 2020-03-08 10:10:57 +01:00
Christoph Loy
cf36ea70a3 Remove unnecessary blocks from switch-case from ContextBasedRangeFormattingCallback 2020-03-08 10:10:57 +01:00
Christoph Loy
9b1a090f6a Add default case to ContextBasedRangeFormattingCallback 2020-03-08 10:10:57 +01:00
Christoph Loy
26508ac19e Get rid of unnecessary blocks and add default case to switch-case in ContextBasedFormattingCallback 2020-03-08 10:10:57 +01:00
Christoph Loy
b0fab92499 Split declarations 2020-03-08 10:10:57 +01:00
Christoph Loy
e463b29e84 Make parameter effecitvely non-final in NoteUtil 2020-03-08 10:10:57 +01:00
Christoph Loy
8432779bbe Get rid of qualified constant 2020-03-08 10:10:57 +01:00
Christoph Loy
758d475e66 Document NoOp in SingleNoteWidgetFactory 2020-03-08 10:10:57 +01:00
Christoph Loy
e0b1d125db Add default case to NoteListWidget 2020-03-08 10:10:57 +01:00
Christoph Loy
ed1580e488 Add default case to NotesListViewItemTouchHelper 2020-03-08 10:10:57 +01:00
Christoph Loy
449ea5f77d Remove redundant blocks 2020-03-08 10:10:57 +01:00
Christoph Loy
7c1542ea3c Remove redundant blocks in switch-case 2020-03-08 10:10:57 +01:00
Christoph Loy
b53dcf953b Add default case to MultiSelectedActionModeCallback#onActionItemClicked 2020-03-08 10:10:57 +01:00
Christoph Loy
2a704d6647 Do not reassign parameters 2020-03-08 10:10:57 +01:00
Christoph Loy
60c1e05552 Try to reduce complexity 2020-03-08 10:10:57 +01:00
Christoph Loy
0967678b40 Split declarations in NoteEditFragment 2020-03-08 10:10:57 +01:00
Christoph Loy
3b8246236e Get ride of unnecessary and confusiong blocks in switch in CategoryAdapter 2020-03-08 10:10:57 +01:00
Christoph Loy
65a5a0920f Get rid of unnecessary qualified name in BaseNoteFragment 2020-03-08 10:10:57 +01:00
Christoph Loy
0f8d46d975 Add NoOp comment to empty method in NoteListWidgetFactory 2020-03-08 10:10:57 +01:00
Christoph Loy
f4ca2aa7bb Split up declarations in NoteListWidgetConfiguration 2020-03-08 10:10:57 +01:00
Christoph Loy
c9102e9362 Split up declarations in NotesListViewActivity 2020-03-08 10:10:57 +01:00
Christoph Loy
20a53eb828 Fix some lint issues 2020-03-08 10:10:57 +01:00
Christoph Loy
6a43d268e9
Revert "Move unlock-check from onCreate to onStart (to provide security even if multiple singlenotewidgets are clicked after another)"
This reverts commit dd36786a

Moving it to onStart created more trouble than was worth
2020-03-06 14:15:34 +01:00
Christoph Loy
22203c3bb5
Merge branch 'master' into 354-password-protection 2020-03-05 22:19:06 +01:00
dependabot-preview[bot]
331b3206da Bump work-runtime from 2.3.2 to 2.3.3
Bumps work-runtime from 2.3.2 to 2.3.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-05 08:11:50 +01:00
Christoph Loy
dd36786a81
Move unlock-check from onCreate to onStart (to provide security even if multiple singlenotewidgets are clicked after another) 2020-03-02 22:13:43 +01:00
Christoph Loy
8d3e9c223b
Fix lint warnings 2020-03-02 18:20:48 +01:00
Christoph Loy
804c8ac584
Actually these flags are not even necessary 2020-03-02 18:08:54 +01:00
Christoph Loy
ca718370a3
Switch NO_HISTORY-flag to NEW_TASK and CLEAR_TOP_TASK 2020-03-02 17:31:21 +01:00
Christoph Loy
82868d7585
(Maybe) fix bug with singlenotewidget 2020-03-02 16:57:04 +01:00
Christoph Loy
592a8469ac
Merge branch 'master' into 354-password-protection 2020-03-02 16:32:55 +01:00
Christoph Loy
f1ce566511
Merge branch 'master' into 354-password-protection
# Conflicts:
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/AboutActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/EditNoteActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/ExceptionActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/NotesListViewActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/PreferencesActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/activity/SelectSingleNoteActivity.java
#	app/src/main/java/it/niedermann/owncloud/notes/android/fragment/PreferencesFragment.java
#	app/src/main/java/it/niedermann/owncloud/notes/util/Notes.java
2020-03-02 16:28:51 +01:00