Read the sticker length during backup import.

This commit is contained in:
Greyson Parrelli
2020-02-28 15:56:59 -05:00
parent 9c96afee09
commit 8e795c4177
3 changed files with 9 additions and 2 deletions

View File

@@ -165,6 +165,7 @@ public class FullBackupImporter extends FullBackupBase {
ContentValues contentValues = new ContentValues();
contentValues.put(StickerDatabase.FILE_PATH, dataFile.getAbsolutePath());
contentValues.put(StickerDatabase.FILE_LENGTH, sticker.getLength());
contentValues.put(StickerDatabase.FILE_RANDOM, output.first);
db.update(StickerDatabase.TABLE_NAME, contentValues,