Loading tools/layoutlib/bridge/src/android/content/res/BridgeTypedArray.java +3 −2 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ public final class BridgeTypedArray extends TypedArray { // first count the array size int count = 0; for (ResourceValue data : mResourceData) { if (data != null) { if (data != null && !RenderResources.REFERENCE_NULL.equals(data.getValue())) { count++; } } Loading @@ -103,7 +103,8 @@ public final class BridgeTypedArray extends TypedArray { // fill the array with the indices. int index = 1; for (int i = 0 ; i < mResourceData.length ; i++) { if (mResourceData[i] != null) { if (mResourceData[i] != null && !RenderResources.REFERENCE_NULL.equals(mResourceData[i].getValue())) { mIndices[index++] = i; } } Loading Loading
tools/layoutlib/bridge/src/android/content/res/BridgeTypedArray.java +3 −2 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ public final class BridgeTypedArray extends TypedArray { // first count the array size int count = 0; for (ResourceValue data : mResourceData) { if (data != null) { if (data != null && !RenderResources.REFERENCE_NULL.equals(data.getValue())) { count++; } } Loading @@ -103,7 +103,8 @@ public final class BridgeTypedArray extends TypedArray { // fill the array with the indices. int index = 1; for (int i = 0 ; i < mResourceData.length ; i++) { if (mResourceData[i] != null) { if (mResourceData[i] != null && !RenderResources.REFERENCE_NULL.equals(mResourceData[i].getValue())) { mIndices[index++] = i; } } Loading