commit | 373fb4094715ef11a02afcacd0e9839b5b6df8eb | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Jun 29 22:07:30 2015 -0700 |
committer | Andreas Gampe <agampe@google.com> | Mon Jun 29 22:07:30 2015 -0700 |
tree | af742eae8aeff49afa31b28829f6867d86d8db07 | |
parent | 810d5ed23b89265946d7f0fd8b2e6002038f1f2c [diff] |
Frameworks/base: Remove UsageEvents finalizer The order of finalization between the parcel and the UsageEvents objects is not defined. In the bad case, the parcel will be finalized first and destroy its native pointer, after which the UsageEvents object will recycle it, putting it back into one of the Parcel pools. This will violate the pool invariant. Bug: 22088355 Change-Id: Ifbe7822990cdfc31855d6742dcdea9d9dd0daf1b