Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b031bbb5 authored by Hyunho's avatar Hyunho
Browse files

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
parent 3195dc70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment