mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-07-08 21:36:59 +00:00
Merge branch 'master' of https://github.com/c1710/blobmoji
This commit is contained in:
commit
5655aee440
1 changed files with 3 additions and 2 deletions
|
@ -68,8 +68,9 @@ public class AssetEmojiCompatConfig extends EmojiCompat.Config {
|
||||||
@Override
|
@Override
|
||||||
@RequiresApi(19)
|
@RequiresApi(19)
|
||||||
public void load(@NonNull EmojiCompat.MetadataRepoLoaderCallback loaderCallback) {
|
public void load(@NonNull EmojiCompat.MetadataRepoLoaderCallback loaderCallback) {
|
||||||
Preconditions.checkNotNull(loaderCallback, "loaderCallback cannot be null");
|
// This one doesn't work as it's not android.support
|
||||||
final InitRunnable runnable = new InitRunnable(mContext, loaderCallback);
|
//Preconditions.checkNotNull(loaderCallback, "loaderCallback cannot be null");
|
||||||
|
final InitRunnable runnable = new InitRunnable(mContext, loaderCallback, assetName);
|
||||||
final Thread thread = new Thread(runnable);
|
final Thread thread = new Thread(runnable);
|
||||||
thread.setDaemon(false);
|
thread.setDaemon(false);
|
||||||
thread.start();
|
thread.start();
|
||||||
|
|
Loading…
Add table
Reference in a new issue