Fix issue where wallpapers don't immediately render after upgrade.
This commit is contained in:
parent
6f1949db98
commit
6b7ea28e8f
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,7 @@ import org.signal.core.util.logging.Log
|
|||
import org.thoughtcrime.securesms.BuildConfig
|
||||
import org.thoughtcrime.securesms.database.SignalDatabase
|
||||
import org.thoughtcrime.securesms.database.model.databaseprotos.Wallpaper
|
||||
import org.thoughtcrime.securesms.dependencies.AppDependencies
|
||||
import org.thoughtcrime.securesms.jobmanager.Job
|
||||
import org.thoughtcrime.securesms.keyvalue.SignalStore
|
||||
import org.thoughtcrime.securesms.mms.PartAuthority
|
||||
|
@ -75,6 +76,9 @@ internal class WallpaperStorageMigrationJob(parameters: Parameters = Parameters.
|
|||
}
|
||||
}
|
||||
|
||||
AppDependencies.recipientCache.clear()
|
||||
AppDependencies.recipientCache.warmUp()
|
||||
|
||||
Log.i(TAG, "Successfully migrated ${wallpaperFileNames.size} wallpapers.")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue