commit | 956f2ac9ac2f598832d4aa86ac09e21f3102350f | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Tue Dec 01 11:53:57 2020 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Dec 01 11:53:59 2020 -0700 |
tree | 83d549b85c6720a624ee63c1096276d43bae6ad5 | |
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