Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2025-06-12 10:06:49 +02:00
parent bba5d789b6
commit be5c47e5ab
No known key found for this signature in database
GPG Key ID: 4E577DC593B59BDF
2 changed files with 13 additions and 0 deletions

View File

@ -1538,6 +1538,11 @@ public class FileDataStorageManager {
private ContentValues createContentValueForRemoteFile(RemoteFile remoteFile) {
ContentValues contentValues = new ContentValues();
OCFile ocFile = getFileByDecryptedRemotePath(remoteFile.getRemotePath());
if (ocFile != null) {
contentValues.put(ProviderTableMeta.OCSHARES_FILE_SOURCE, ocFile.getFileId());
}
contentValues.put(ProviderTableMeta.OCSHARES_PATH, remoteFile.getRemotePath());
boolean isDirectory = MimeTypeUtil.isFolder(remoteFile.getMimeType());
contentValues.put(ProviderTableMeta.OCSHARES_IS_DIRECTORY, isDirectory);

View File

@ -11499,6 +11499,14 @@
<sha256 value="b03adb110643513771101c07561b36da33381566a04fe43f0e704a98e14de9cf" origin="Generated by Gradle" reason="Artifact is not signed"/>
</artifact>
</component>
<component group="com.github.nextcloud" name="android-library" version="7cb4ea1d22">
<artifact name="android-library-7cb4ea1d22.aar">
<sha256 value="1cf359d041e88438df84743587eacd2a09997a6d9f1183df8d7e360917cd9c14" origin="Generated by Gradle" reason="Artifact is not signed"/>
</artifact>
<artifact name="android-library-7cb4ea1d22.module">
<sha256 value="7dab0f91c62dcc0e1e07b026c517a97bc62edf90b5c874bd0243b4fad814170e" origin="Generated by Gradle" reason="Artifact is not signed"/>
</artifact>
</component>
<component group="com.github.nextcloud" name="android-library" version="84711877b4703f8df3d638a016419b4aa731db2b">
<artifact name="android-library-84711877b4703f8df3d638a016419b4aa731db2b.aar">
<sha256 value="d801b368fc7d4d5d2d2852765442ccbf7df21f0a9198d369181637a8142914cc" origin="Generated by Gradle" reason="Artifact is not signed"/>