diff options
author | Jeff Sharkey <jsharkey@android.com> | 2020-12-01 11:53:57 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2020-12-01 11:53:59 -0700 |
commit | 956f2ac9ac2f598832d4aa86ac09e21f3102350f (patch) | |
tree | 83d549b85c6720a624ee63c1096276d43bae6ad5 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a01f750588e7016461d400671fdfaa2f91fde990 (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