Do not delete the DB if the received document is malformed/corrupt
According to RCC.59 v5, if a device receives malformed/corrupted xml it should keep the old functionality. However, if the presence element is malformed, that contact is set to the non-rcs user. And if one of the tuple in xml is malformed, another valid tuple should be parsed and stored in DB. Don't save anything if all tuples in xml are malformed. Bug: b/225998718 Test: atest PresenceTest TupleTest Test: cts CtsTelephonyTestCases:RcsUceAdapterTest Change-Id: I4839a45f933092a9bd42d74564797bacfeac49c1 Merged-In: I4839a45f933092a9bd42d74564797bacfeac49c1
Loading
Please register or sign in to comment