Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82891c00 authored by Andreas Gampe's avatar Andreas Gampe Committed by The Android Automerger
Browse files

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
parent 71395da1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment