mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-07-08 21:36:59 +00:00
Hotfix for AssetEmojiCompatConfig
This commit is contained in:
parent
d1def0b30e
commit
ad8e24616e
1 changed files with 3 additions and 3 deletions
|
@ -98,11 +98,11 @@ public class AssetEmojiCompatConfig extends EmojiCompat.Config {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
try {
|
try {
|
||||||
final AssetManager assetManager = mContext.getAssets();
|
final AssetManager assetManager = context.getAssets();
|
||||||
final MetadataRepo resourceIndex = MetadataRepo.create(assetManager, FONT_NAME);
|
final MetadataRepo resourceIndex = MetadataRepo.create(assetManager, FONT_NAME);
|
||||||
mLoaderCallback.onLoaded(resourceIndex);
|
loaderCallback.onLoaded(resourceIndex);
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
mLoaderCallback.onFailed(t);
|
loaderCallback.onFailed(t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue