Álvaro Brey Vilas
886c2574fb
MediaProvider: remove useless parens
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-02 08:29:43 +01:00
Álvaro Brey Vilas
95c31750a7
AbstractIT: adaptations to make integration tests work in sdk 30
...
- Use internal temporal path, as external temporal path is broken in sdk 30
- Don't take snapshots in sdk30 as they crash
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-02 08:29:43 +01:00
Álvaro Brey Vilas
c1316da717
Request READ_EXTERNAL_STORAGE in API >= 30
...
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>
2021-11-02 08:29:42 +01:00
Álvaro Brey Vilas
2cb05a17a5
androidTest: Don't request WRITE_EXTERNAL_STORAGE on sdk>=30
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-02 08:29:42 +01:00
Álvaro Brey Vilas
1154b439fe
ContentResolverHelperTest: use mockitokotlin instead of mockk
...
MockK doesn't work properly on android < 27. Lesson learned.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-02 08:29:42 +01:00
Álvaro Brey Vilas
be830a66c8
COntentResolverHelper: sort column must be an array
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-02 08:29:42 +01:00
Álvaro Brey Vilas
8860bd4b52
Fix OCFIleListFragmentIT on sdk 30
...
Can no longer open /sdcard/ directly, let's use the external files dir
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-02 08:29:41 +01:00
Álvaro Brey Vilas
aa7b5617ab
ContentResolverHelper: add tests and proper copyright headers
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-02 08:29:41 +01:00
Álvaro Brey Vilas
0cccd80314
build.gradle: Bump mockK to fix test crashes in API 30 emulators
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-02 08:29:41 +01:00
Álvaro Brey Vilas
6e645f7f06
MediaProvider: solve crash on Android 11 due to invalid contentProvider queries
...
This manifested mostly when trying to open "auto upload"
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-02 08:29:40 +01:00
Álvaro Brey Vilas
d92e3cbfaa
Fix some type errors after sdk 30 bump
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-02 08:29:40 +01:00
Álvaro Brey Vilas
e655039559
Bump compileSdk and targetSdk to 30
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-02 08:29:33 +01:00
Álvaro Brey Vilas
ac9f516027
Unified search: skip local file check for non-file results
...
Fixes https://github.com/nextcloud/android/issues/9171
Needs https://github.com/nextcloud/android-library/pull/739
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-11-02 07:23:33 +00:00
Nextcloud bot
0558b25ee3
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-02 03:49:39 +00:00
Nextcloud bot
346fc512a2
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-01 03:48:17 +00:00
dependabot[bot]
957949101e
Bump byteBuddyVersion from 1.11.21 to 1.11.22
...
Bumps `byteBuddyVersion` from 1.11.21 to 1.11.22.
Updates `byte-buddy` from 1.11.21 to 1.11.22
- [Release notes](https://github.com/raphw/byte-buddy/releases )
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md )
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.21...byte-buddy-1.11.22 )
Updates `byte-buddy-android` from 1.11.21 to 1.11.22
- [Release notes](https://github.com/raphw/byte-buddy/releases )
- [Changelog](https://github.com/raphw/byte-buddy/blob/master/release-notes.md )
- [Commits](https://github.com/raphw/byte-buddy/compare/byte-buddy-1.11.21...byte-buddy-1.11.22 )
---
updated-dependencies:
- dependency-name: net.bytebuddy:byte-buddy
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: net.bytebuddy:byte-buddy-android
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 02:06:11 +00:00
dependabot[bot]
5b097431fb
Bump gson from 2.8.8 to 2.8.9
...
Bumps [gson](https://github.com/google/gson ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/google/gson/releases )
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.8...gson-parent-2.8.9 )
---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 02:05:37 +00:00
Nextcloud bot
3abf27f947
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-30 03:50:46 +00:00
Nextcloud bot
f9bfb044dc
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-29 03:49:55 +00:00
Álvaro Brey
dd7b76ead4
Merge pull request #9150 from nextcloud/fix-fastlane-rc
...
fastlane: Restore version prompt for RC releases
2021-10-28 12:34:00 +02:00
Álvaro Brey
d74af1c35e
Merge pull request #9164 from nextcloud/fix/network-metered-security-exception
...
ConnectivityService: handle SecurityException in getNetworkCapabilities
2021-10-28 11:00:16 +02:00
Álvaro Brey Vilas
9a94ddc1cc
ConnectivityService: handle SecurityException in getNetworkCapabilities
...
Bug on Android implementation
See: https://stackoverflow.com/questions/66652819/getting-security-exception-while-trying-to-fetch-networkcapabilities-on-android
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-28 10:13:30 +02:00
Nextcloud bot
da095ddfb6
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-28 03:51:04 +00:00
Tobias Kaminsky
0184bb7608
Merge pull request #9157 from nextcloud/AccountManagerService
...
AccountManagerService needs to be exported
2021-10-27 19:59:48 +02:00
tobiasKaminsky
3823eccfe6
AccountManagerService needs to be exported
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-27 08:49:05 +02:00
Nextcloud bot
8c0e77ae93
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-27 03:55:09 +00:00
Álvaro Brey
9b25979eb7
Merge pull request #9149 from nextcloud/obsoleteSDKchekcs
...
Remove unneeded checks for M build target
2021-10-26 09:03:54 +02:00
Álvaro Brey Vilas
e40d2910b9
fastlane: Restore version prompt for RC releases
...
Was lost in https://github.com/nextcloud/android/pull/9118 ,
so now RC releases didn't pause for version check.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-26 08:37:01 +02:00
drone
05d98ccc4b
Drone: update Lint results to reflect reduced error/warning count [skip ci]
...
Signed-off-by: drone <drone@nextcloud.com>
2021-10-26 06:02:19 +00:00
tobiasKaminsky
bbcfdbe98d
Remove unneeded checks for M build target
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-26 07:57:01 +02:00
Nextcloud bot
a946385603
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-26 03:50:35 +00:00
Andy Scherzinger
1b87f68aed
Merge pull request #9142 from nextcloud/bumpMasterTo3.19
...
Bump master to 3.19 alpha
2021-10-25 18:42:22 +02:00
Nextcloud bot
2c7c571fca
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-25 14:25:18 +00:00
tobiasKaminsky
85d1f5bb0d
Bump master to 3.19 alpha
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 16:17:42 +02:00
Tobias Kaminsky
6176998a0e
Merge pull request #9141 from nextcloud/bump-outdated-server-version
...
Bump versions before RC
2021-10-25 16:13:56 +02:00
Tobias Kaminsky
6e76954fcf
Merge pull request #8848 from nextcloud/sharingDialog
...
Sharing dialog improvement
2021-10-25 16:08:23 +02:00
Tobias Kaminsky
cf8021059e
Merge pull request #7568 from nextcloud/unifiedSearch
...
Unified search
2021-10-25 16:07:08 +02:00
drone
16b37bcc05
Drone: update Lint results to reflect reduced error/warning count [skip ci]
...
Signed-off-by: drone <drone@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 16:06:17 +02:00
Álvaro Brey Vilas
0984213b62
AndroidManifest: remove resources with maxSDK=22
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:44:36 +02:00
Álvaro Brey Vilas
e99960c59d
TestPowerManagementService: Bump SDK version used for test
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:39:25 +02:00
Álvaro Brey Vilas
a5afe1ec41
Bump minSdk version to 23
...
22 is under 0.5% of users
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:35:52 +02:00
Álvaro Brey Vilas
16b83131c8
Bump OUTDATED_SERVER_VERSION to 19
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:25:44 +02:00
tobiasKaminsky
0cdfd7a906
Optimize imports
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 15:18:31 +02:00
tobiasKaminsky
3965f22e7c
remove unused foreground (which was working only on API23+)
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-25 15:17:58 +02:00
Álvaro Brey Vilas
6fe72782fe
FileDisplayActivity: fix new spotbugs warning
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:58 +02:00
Álvaro Brey Vilas
d7d3157410
Unified search: solve RTL symmetry warnings
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:58 +02:00
Álvaro Brey Vilas
631db66da7
Unified search: show context leak in UnifiedSearchViewModel
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:57 +02:00
Álvaro Brey Vilas
8cadb2b5de
Unified search: add placeholder icon for Deck
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:57 +02:00
Álvaro Brey Vilas
c51df6fb5b
Unified search: better placeholder icons
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:57 +02:00
Álvaro Brey Vilas
16100677bb
Unified search: fix inverted success value for "load more"
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2021-10-25 15:17:56 +02:00