Skip to content

Commit 4886354

Browse files
Merge branch 'dev' into feature/update-crowdin-translations
2 parents 8eb808a + 8f5d1f4 commit 4886354

File tree

328 files changed

+9593
-12348
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

328 files changed

+9593
-12348
lines changed

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'gradle.properties') }}-${{ matrix.variant }}
3939

4040
- name: Set up JDK 21
41-
uses: actions/setup-java@v4
41+
uses: actions/setup-java@v5
4242
with:
4343
distribution: 'temurin'
4444
java-version: '21'

app/build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ dependencies {
352352
implementation(libs.androidx.activity.compose)
353353
implementation(libs.androidx.fragment.ktx)
354354
implementation(libs.androidx.core.ktx)
355+
implementation(libs.androidx.interpolator)
355356

356357
// Add firebase dependencies to specific variants
357358
for (variant in firebaseEnabledVariants) {
@@ -378,8 +379,9 @@ dependencies {
378379
implementation(libs.android)
379380
implementation(libs.photoview)
380381
implementation(libs.glide)
381-
implementation(libs.compose)
382-
implementation(libs.eventbus)
382+
implementation(libs.glide.compose)
383+
implementation(libs.coil.compose)
384+
implementation(libs.coil.gif)
383385
implementation(libs.android.image.cropper)
384386
implementation(libs.subsampling.scale.image.view) {
385387
exclude(group = "com.android.support", module = "support-annotations")

app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -399,14 +399,6 @@
399399
android:name="android.support.FILE_PROVIDER_PATHS"
400400
android:resource="@xml/file_provider_paths" />
401401
</provider>
402-
<provider
403-
android:name="org.thoughtcrime.securesms.database.DatabaseContentProviders$Conversation"
404-
android:authorities="network.loki.securesms.database.conversation${authority_postfix}"
405-
android:exported="false" />
406-
<provider
407-
android:name="org.thoughtcrime.securesms.database.DatabaseContentProviders$ConversationList"
408-
android:authorities="network.loki.securesms.database.conversationlist${authority_postfix}"
409-
android:exported="false" />
410402
<provider
411403
android:name="org.thoughtcrime.securesms.database.DatabaseContentProviders$Attachment"
412404
android:authorities="network.loki.securesms.database.attachment${authority_postfix}"
@@ -419,10 +411,6 @@
419411
android:name="org.thoughtcrime.securesms.database.DatabaseContentProviders$StickerPack"
420412
android:authorities="network.loki.securesms.database.stickerpack${authority_postfix}"
421413
android:exported="false" />
422-
<provider
423-
android:name="org.thoughtcrime.securesms.database.DatabaseContentProviders$Recipient"
424-
android:authorities="network.loki.securesms.database.recipient${authority_postfix}"
425-
android:exported="false" />
426414

427415
<receiver android:name="org.thoughtcrime.securesms.service.BootReceiver"
428416
android:exported="true">

app/src/main/java/org/session/libsession/avatars/AvatarHelper.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@
1919
import java.util.LinkedList;
2020
import java.util.List;
2121

22+
/**
23+
* @deprecated We no longer use these address-based avatars. All avatars are now stored as sha256 of
24+
* urls encrypted locally. Look at {@link org.thoughtcrime.securesms.attachments.LocalEncryptedFileOutputStream},
25+
* {@link org.thoughtcrime.securesms.attachments.RemoteFileDownloadWorker},
26+
* {@link org.thoughtcrime.securesms.glide.RecipientAvatarDownloadManager} for more information.
27+
*
28+
* Once the migration grace period is over, this class shall be removed.
29+
*/
30+
@Deprecated(forRemoval = true)
2231
public class AvatarHelper {
2332

2433
private static final String AVATAR_DIRECTORY = "avatars";

app/src/main/java/org/session/libsession/avatars/ContactColors.java

Lines changed: 0 additions & 32 deletions
This file was deleted.

app/src/main/java/org/session/libsession/avatars/ContactPhoto.java

Lines changed: 0 additions & 21 deletions
This file was deleted.

app/src/main/java/org/session/libsession/avatars/FallbackContactPhoto.java

Lines changed: 0 additions & 10 deletions
This file was deleted.

app/src/main/java/org/session/libsession/avatars/GroupRecordContactPhoto.java

Lines changed: 0 additions & 73 deletions
This file was deleted.

app/src/main/java/org/session/libsession/avatars/PlaceholderAvatarPhoto.kt

Lines changed: 0 additions & 17 deletions
This file was deleted.

app/src/main/java/org/session/libsession/avatars/ProfileContactPhoto.java

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)