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

Commit f96d9c54 authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Improve resource loading by ~3x" into mnc-dev

parents 093d8de2 4feb3260
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -603,7 +603,7 @@ public class ColorStateList implements Parcelable {
     * @hide only for resource preloading
     */
    public ConstantState<ColorStateList> getConstantState() {
        if (mFactory != null) {
        if (mFactory == null) {
            mFactory = new ColorStateListFactory(this);
        }
        return mFactory;
+1 −0
Original line number Diff line number Diff line
@@ -1918,6 +1918,7 @@ public class Resources {
            other.mResId = mResId;
            other.mForce = mForce;
            other.mCount = mCount;
            other.mHashCode = mHashCode;
            return other;
        }
    }