summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-05-04 10:32:57 -0700
committerAlan Viverette <alanv@google.com>2015-05-04 10:32:57 -0700
commit904de2ec9360de2ee54b91aaf9e141d9d8ab1de1 (patch)
treee28ae68b8b33ecb3a2e16e4024f3e3989114023c /rs/java/android/renderscript/RenderScript.java
parent5551aca2b8ec9fe7ab5ffda8dad82ee104556962 (diff)
Always force constructors accessible during inflation
We now correctly throw an IllegalAccessException for non-public accesses, but we were relying on the old incorrect behavior during inflation. This CL forces constructors to be accessible so that we emulate the old behavior and don't crash. Where we were already doing this, the CL moves the setAccessible() call immediately after the getConstructor() call, since there's no point in calling it multiple times. Bug: 20810495 Change-Id: I63dfcb857e445f688080eea05e86ef22760ed49f
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions