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

Commit 4be4b378 authored by Pirama Arumuga Nainar's avatar Pirama Arumuga Nainar Committed by android-build-merger
Browse files

Merge "[RenderScript] Fail with Exception from validateObjectIsPrimitiveArray"

am: 994db1bb

* commit '994db1bb':
  [RenderScript] Fail with Exception from validateObjectIsPrimitiveArray

Change-Id: Id83d0a3fa9fed2bd3f0b7b19e5bc4dc162f52011
parents 170c93f5 994db1bb
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -142,7 +142,10 @@ public class Allocation extends BaseObj {
            }
            }
            return Element.DataType.FLOAT_64;
            return Element.DataType.FLOAT_64;
        }
        }
        return null;

        throw new RSIllegalArgumentException("Parameter of type " + cmp.getSimpleName() +
            "[] is not compatible with data type " + mType.mElement.mType.name() +
            " of allocation");
    }
    }