From cd07c15fa301819ca4c94c5f54233b1b88a3d7d9 Mon Sep 17 00:00:00 2001 From: Ryan ZHAO Date: Wed, 29 Jul 2020 15:45:10 +1000 Subject: [PATCH] fix uri matcher for renamed name space --- src/org/thoughtcrime/securesms/mms/PartAuthority.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/thoughtcrime/securesms/mms/PartAuthority.java b/src/org/thoughtcrime/securesms/mms/PartAuthority.java index 28fe6f6fdc..f6a0b71a9b 100644 --- a/src/org/thoughtcrime/securesms/mms/PartAuthority.java +++ b/src/org/thoughtcrime/securesms/mms/PartAuthority.java @@ -36,9 +36,9 @@ public class PartAuthority { static { uriMatcher = new UriMatcher(UriMatcher.NO_MATCH); - uriMatcher.addURI("org.thoughtcrime.securesms", "part/*/#", PART_ROW); - uriMatcher.addURI("org.thoughtcrime.securesms", "thumb/*/#", THUMB_ROW); - uriMatcher.addURI("org.thoughtcrime.securesms", "sticker/#", STICKER_ROW); + uriMatcher.addURI("network.loki.provider.securesms", "part/*/#", PART_ROW); + uriMatcher.addURI("network.loki.provider.securesms", "thumb/*/#", THUMB_ROW); + uriMatcher.addURI("network.loki.provider.securesms", "sticker/#", STICKER_ROW); uriMatcher.addURI(DeprecatedPersistentBlobProvider.AUTHORITY, DeprecatedPersistentBlobProvider.EXPECTED_PATH_OLD, PERSISTENT_ROW); uriMatcher.addURI(DeprecatedPersistentBlobProvider.AUTHORITY, DeprecatedPersistentBlobProvider.EXPECTED_PATH_NEW, PERSISTENT_ROW); uriMatcher.addURI(BlobProvider.AUTHORITY, BlobProvider.PATH, BLOB_ROW);