summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorNader Jawad <njawad@google.com>2019-03-27 15:07:44 -0700
committerNader Jawad <njawad@google.com>2019-03-28 23:48:30 +0000
commit129f414e70bec77eef608880132a0a67676574a5 (patch)
tree9fb1cea7bdd8388ea0c34f521514c7aa5e3e1c73 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent57fd2215a65fba4afe572e22b20ea7e2b3d19f21 (diff)
Fixed issue where XmlPullParserExceptions are thrown with
Theme defined GradientDrawable attributes Fixed issue where attributes that are supposed to be defined together would throw exceptions if they are configured through multiple inflation passes both with and without theme attributes. Removed conditional logic that would parse attributes only if the corresponding gradient type matched. Instead, attributes are parsed on each inflation pass, falling back on previously resolved parameters in the absence of a field. Validation of the radius parameters has moved to ensureValidRect Test: Added test to GradientDrawableTest Bug: 127838188 Change-Id: Ie05e416eb747c774b9a39d4d0be28e1e775f0db5
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions