commit | 2c82a4b593bbf21430f29d7eb894198839b77487 | [log] [tgz] |
---|---|---|
author | Patrick Baumann <patb@google.com> | Thu Jan 16 14:56:23 2020 -0800 |
committer | Patrick Baumann <patb@google.com> | Thu Jan 16 14:58:28 2020 -0800 |
tree | 19c98586543a3379874b632135d48b952e353eb8 | |
parent | 6a2158f4ae4d6ec2080552bfb77cde2a72ef8c8e [diff] |
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