Although scoped storage is in effect and WRITE_EXTERNAL_STORAGE does not do anything,
we still need READ_EXTERNAL_STORAGE to read files from folders we don't own.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* FilesSyncJob.java converted to FilesSyncWork.kt
* FilesSyncJob removed from code
* Extended ETM screen to allow scheduling immediate
TestJob (for development experimentation)
* OfflineSyncJob.java conveted to OfflineSyncWork.kt
* OfflineSyncJob removed from code
* Fixed re-scheduling of content observer work
* MediaFoldersDetectionJob.java converted to
MediaFoldersDetectionWork.kt
* MediaFolderDetectionJob removed from code
Fixes#5881
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
* added log search in logs browser
* added logs browser view model test
* added universal async filtering utility
* refactored async runner and added manual runner
* migrated logs browser to Android DataBinding and Kotlin
* disabled imports ordering Ktlint rule as IDE does not
support ktlint ordering
* added some missing tests around logger
Closes#4311
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
* move exception handler to MainApp
* avoid recursive call to exception handler
* launch exception handler in separate process
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
- add svg, convert to android xml, removed png
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
fix after rebase
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
renamed user -> ic_user (icon)
make favorite mutable
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
replace further png resources with xml drawables
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
fixes after rebase
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
allow for vector compat
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
add missing icon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
add yet another missing icon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
lint: When using VectorDrawableCompat, you need to use app:srcCompat
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
lint: When using VectorDrawableCompat, you need to use app:srcCompat
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
fix lint
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
improve findbugs score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
use correct icon for user account settings within drawer menu
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
icons needs to be grey600 by default, don't tint grey600 to not tint avatars
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
codacy: organize imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
programmatically set in-View drawables, in-view drawables can't be set via XML when supporting pre-lollipop
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
codacy: Useless parentheses & organize imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
organize imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
codacy: useless paranthesis
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
revert programmatically set
do not use vectorDrawables.useSupportLibrary
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
use 128dp for talk
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Revert "lint: When using VectorDrawableCompat, you need to use app:srcCompat"
This reverts commit 80068e7d37f3a8c6b7096c51543bda68443e4341.
Revert "lint: When using VectorDrawableCompat, you need to use app:srcCompat"
This reverts commit 0130e9a96d2602ad4b5d33aae67f34a458366d70.
revert srcCompat
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>