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

Commit dbc7cb5c authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Only complain when overwriting with a different value

TimeSparseArray only stores one value per timestamp. It complains when a
value is overwritten to ensure that callers do not lose data
unintentionally. However, when a caller may overwrite a value by itself,
it is less risky, even though redundant. Reducing the severity of the
log in this case.

Test: FrameworksCoreTests:TimeSparseArrayTest

Bug: 279599693
Change-Id: If91be39b2c5d7042d0bc6f6afc5313194b8dfbf8
parent 27e6e4bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment