Updated emoji to version 14.0

fork-5.53.8
Greyson Parrelli 2022-04-22 11:40:07 -04:00
rodzic f15072bc8d
commit 530403ec04
21 zmienionych plików z 13 dodań i 8 usunięć

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 86 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 88 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 85 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 47 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 5.0 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 44 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 121 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 125 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 162 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 166 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 233 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 238 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 170 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 176 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 120 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 99 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 150 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 150 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 150 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 149 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 144 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 150 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 139 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 148 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 176 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 142 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 164 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 174 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 106 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 87 KiB

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 81 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 195 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 200 KiB

Plik binarny nie jest wyświetlany.

Przed

Szerokość:  |  Wysokość:  |  Rozmiar: 91 KiB

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 91 KiB

File diff suppressed because one or more lines are too long

Wyświetl plik

@ -75,10 +75,10 @@ public class DownloadLatestEmojiDataJob extends BaseJob {
}
}
public DownloadLatestEmojiDataJob(boolean force) {
public DownloadLatestEmojiDataJob(boolean ignoreAutoDownloadConstraints) {
this(new Job.Parameters.Builder()
.setQueue(QUEUE_KEY)
.addConstraint(force ? NetworkConstraint.KEY : AutoDownloadEmojiConstraint.KEY)
.addConstraint(ignoreAutoDownloadConstraints ? NetworkConstraint.KEY : AutoDownloadEmojiConstraint.KEY)
.setMaxInstancesForQueue(1)
.setMaxAttempts(5)
.setLifespan(TimeUnit.DAYS.toMillis(1))
@ -126,10 +126,10 @@ public class DownloadLatestEmojiDataJob extends BaseJob {
EmojiData emojiData = downloadJson(context, targetVersion);
List<String> supportedDensities = emojiData.getDensities();
String format = emojiData.getFormat();
List<String> imagePaths = Stream.of(emojiData.getDataPages())
.map(EmojiPageModel::getSpriteUri)
.map(Uri::getLastPathSegment)
.toList();
List<String> imagePaths = Stream.of(emojiData.getDataPages())
.map(EmojiPageModel::getSpriteUri)
.map(Uri::getLastPathSegment)
.toList();
String density = resolveDensity(supportedDensities, targetVersion.getDensity());
targetVersion = new EmojiFiles.Version(targetVersion.getVersion(), targetVersion.getUuid(), density);

Wyświetl plik

@ -101,9 +101,10 @@ public class ApplicationMigrations {
static final int PNI_IDENTITY_2 = 57;
static final int PNI_IDENTITY_3 = 58;
static final int STORY_DISTRIBUTION_LIST_SYNC = 59;
static final int EMOJI_VERSION_7 = 60;
}
public static final int CURRENT_VERSION = 59;
public static final int CURRENT_VERSION = 60;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@ -441,6 +442,10 @@ public class ApplicationMigrations {
jobs.put(Version.STORY_DISTRIBUTION_LIST_SYNC, new StorageServiceMigrationJob());
}
if (lastSeenVersion < Version.EMOJI_VERSION_7) {
jobs.put(Version.EMOJI_VERSION_7, new EmojiDownloadMigrationJob());
}
return jobs;
}