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

Commit f5984d5f authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by Android (Google) Code Review
Browse files

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

parents 1665a621 2ea85254
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();