Skip to content
Commit 2c82a4b5 authored by Patrick Baumann's avatar Patrick Baumann
Browse files

Fixes SparseSetArray#add return logic

Docs state that adding a key value pair that already exists will return
false, else true. The actual behavior is reverse. This change fixes
that.

Test: atest AppStateTrackerTest
Change-Id: I2593f2ba22b5972cccb1c0b3dc5aabb4ed65a023
parent 6a2158f4
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