mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-07-08 13:36:40 +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
|
||||
public void run() {
|
||||
try {
|
||||
final AssetManager assetManager = mContext.getAssets();
|
||||
final AssetManager assetManager = context.getAssets();
|
||||
final MetadataRepo resourceIndex = MetadataRepo.create(assetManager, FONT_NAME);
|
||||
mLoaderCallback.onLoaded(resourceIndex);
|
||||
loaderCallback.onLoaded(resourceIndex);
|
||||
} catch (Throwable t) {
|
||||
mLoaderCallback.onFailed(t);
|
||||
loaderCallback.onFailed(t);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue