Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14df39f9 authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by android-build-merger
Browse files

Merge "Fix custom font rendering" into mnc-ub-dev

am: f5984d5f

* commit 'f5984d5f':
  Fix custom font rendering
parents bbd0b324 f5984d5f
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -196,7 +196,12 @@ public final class BridgeContext extends Context {

        mRenderResources = renderResources;
        mConfig = config;
        mAssets = new BridgeAssetManager();
        AssetManager systemAssetManager = AssetManager.getSystem();
        if (systemAssetManager instanceof BridgeAssetManager) {
            mAssets = (BridgeAssetManager) systemAssetManager;
        } else {
            throw new AssertionError("Creating BridgeContext without initializing Bridge");
        }
        mAssets.setAssetRepository(assets);

        mApplicationInfo = new ApplicationInfo();