commit | 17f35eacb42c79b18ab3f75dc111856fe1a0f204 | [log] [tgz] |
---|---|---|
author | Ruchi Kandoi <kandoiruchi@google.com> | Fri Oct 23 17:49:11 2015 -0700 |
committer | Dmitry Shmidt <dimitrysh@google.com> | Fri Jan 27 13:52:04 2017 -0800 |
tree | 4d3f1a17d12a600dc1e74f28e0deea6eea6c8d1b | |
parent | 0a733775d3424677ab44d01ad2bd1d8b8faa559b [diff] |
ANDROID: uid_cputime: Check for the range while removing range of UIDs. Checking if the uid_entry->uid matches the uid intended to be removed will prevent deleting unwanted uid_entry. Type cast the key for the hashtable to the same size, as when they were inserted. This will make sure that we can find the uid_entry we want. Bug: 25195548 Change-Id: I567942123cfb20e4b61ad624da19ec4cc84642c1 Signed-off: Ruchi kandoi <kandoiruchi@google.com>