summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2017-05-01 14:24:32 -0700
committerSeigo Nonaka <nona@google.com>2017-05-01 23:23:50 -0700
commit5e0aed49a874b32b135bbd8da620357764b69ad4 (patch)
tree750d8f742707942055f4838bb2fa5e088a7ba65d /rs/java/android/renderscript/RenderScript.java
parent35dcb5f5bb65ba58b97a2418a44e863a8b097033 (diff)
Fix NPE happens if no source was specified to font element.
This also fixes unexpected fallback to the old implemntation by calling allowUnsupportedFont() which is only for backward compatibility. This CL also remove getResourceId() method. Nobody uses this method. Bug: 37865521 Bug: 37844248 Test: am instrument -w -e class android.content.res.cts.ResourcesTest\ android.content.cts/android.support.test.runner.AndroidJUnitRunner Change-Id: I987448add728c53c916f24a2ea8f337be417248f
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions