commit | 694753465b577509cecba33a90fb7cb6d50f5533 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Thu Dec 15 14:23:24 2016 -0800 |
committer | Amith Yamasani <yamasani@google.com> | Fri Dec 16 11:19:42 2016 -0800 |
tree | 0e4a4eb688cdc9f1bc26f70cca07fb553533e214 | |
parent | e298756bf819cea685bf843189800b6a5fda2466 [diff] |
Fix for race in writeToParcel and unparcel Don't access the parcelled data while it might be recycled by another thread. Also make a local reference of mMap, which could be modified by another thread. Bug: 33325384 Test: Hard to repro, so no test Change-Id: I77f6545ac174236a3da69c0c0f3a01b2eda3f34b