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

Commit 15cc7bba 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

am: 14df39f9

* commit '14df39f9':
  Fix custom font rendering
parents 02bb4295 14df39f9
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -197,7 +197,12 @@ public final class BridgeContext extends Context {


        mRenderResources = renderResources;
        mRenderResources = renderResources;
        mConfig = config;
        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);
        mAssets.setAssetRepository(assets);


        mApplicationInfo = new ApplicationInfo();
        mApplicationInfo = new ApplicationInfo();