summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2020-12-01 11:53:57 -0700
committerJeff Sharkey <jsharkey@android.com>2020-12-01 11:53:59 -0700
commit956f2ac9ac2f598832d4aa86ac09e21f3102350f (patch)
tree83d549b85c6720a624ee63c1096276d43bae6ad5 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta01f750588e7016461d400671fdfaa2f91fde990 (diff)
Fix handling of null "standalone" value.
As part of transitioning the OS towards FastXmlSerializer, we found at least one example of a caller who is omitting a "standalone" value by passing null. Handle this by mirroring the behavior of the upstream KXmlSerializer and omitting the attribute entirely when the value is undefined. Bug: 174561276 Test: manual Change-Id: I868aceaed8e3dd1575947a56b28f8fff8759c0ae
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions