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

Commit edc4664d authored by Alan Viverette's avatar Alan Viverette
Browse files

Fix broken build in BridgeResources

Change-Id: Iec58a2acda6b9538bcb5974d3d5c45ea6e53eac5
parent faa1057d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -94,12 +94,13 @@ public class Resources {
    private static final LongSparseArray<ColorStateList> sPreloadedColorStateLists
            = new LongSparseArray<ColorStateList>();

    private static Resources mSystem = null;
    // Used by BridgeResources in layoutlib
    static Resources mSystem = null;

    private static boolean sPreloaded;
    private static int sPreloadedDensity;

    // These are protected by mAccessLock.

    private final Object mAccessLock = new Object();
    private final Configuration mTmpConfig = new Configuration();
    private final LongSparseArray<WeakReference<Drawable.ConstantState>> mDrawableCache
+1 −0
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@ public final class BridgeResources extends Resources {
    private BridgeContext mContext;
    private IProjectCallback mProjectCallback;
    private boolean[] mPlatformResourceFlag = new boolean[1];
    private TypedValue mTmpValue = new TypedValue();

    /**
     * Simpler wrapper around FileInputStream. This is used when the input stream represent