commit | 08511d6e3129eb811261b5b5af7c41e3e3625eac | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Tue Jun 03 10:24:21 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Fri Jun 06 16:51:11 2014 -0700 |
tree | c00ad35864f7687f40379c8e9dd8856ecbc4a7d8 | |
parent | b311ca9ee82c91d411164a90e9c5b32565a1e43c [diff] |
Make host ashmem_create_region seed only once. Not seeding this each call should help reduce collisions when multiple threads are calling ashmem_create_region. Also cleaned up code by deleting gotos, and making formatting consistent. Bug: 15394258 (cherry picked from commit 1104ae8cfc0e5144e7d796cf29ee124d05401cbf) Change-Id: Iafdaea57b2317e0eb7c40d7b5595c523814fd88c