commit | 2c106ff0e410a3d437caab0d2483a4b50d790235 | [log] [tgz] |
---|---|---|
author | Zongheng Wang <wangzongheng@google.com> | Tue Nov 26 14:50:40 2019 -0800 |
committer | Zongheng Wang <wangzongheng@google.com> | Tue Nov 26 14:50:40 2019 -0800 |
tree | b4285057e92bdab661305a01b8ba4022677c47dc | |
parent | 79dc0135d73d1b038e6d80a6ebf3aa765cc3de54 [diff] |
Use the public constructure of FastXmlSerializer FastXmlSerializer() is an @UnsupportedAppUsage. There's another constructure FastXmlSerializer(int bufferSize) which is public. When buffer size is zero or negative, the default buffer size will be used. So FastXmlSerializer() and FastXmlSerializer(0) should be the same. Bug: 145231333 Test: Manual Change-Id: I88bab4d655fa0ec59d4445362e06f46b1c5bacec