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

Commit de5637b9 authored by Xavier Ducrohet's avatar Xavier Ducrohet Committed by Android Git Automerger
Browse files

am ec9aa23e: Merge "Stopgap fix for layoutlib." into lmp-preview-dev

* commit 'ec9aa23e1e214c9359e38205495db225560c2753':
  Stopgap fix for layoutlib.
parents 30c624c4 7ee26070
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -826,6 +826,11 @@ public final class BridgeTypedArray extends TypedArray {
        return null;
    }

    @Override
    public int[] extractThemeAttrs() {
        return null;
    }

    /**
     * Retrieve the raw TypedValue for the attribute at <var>index</var>.
     *
@@ -912,4 +917,9 @@ public final class BridgeTypedArray extends TypedArray {
    public String toString() {
        return Arrays.toString(mResourceData);
    }

    static TypedArray obtain(Resources res, int len) {
        return res instanceof BridgeResources ?
                new BridgeTypedArray(((BridgeResources) res), null, len, true) : null;
    }
}
+1 −2
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@ public class TypedArray_Delegate {

    @LayoutlibDelegate
    /*package*/ static TypedArray obtain(Resources res, int len) {
        // FIXME
        return null;
        return BridgeTypedArray.obtain(res, len);
    }
}