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

Skip to content
Commit 820f9d71 authored by Dmitri Plotnikov's avatar Dmitri Plotnikov
Browse files

Synchronize access to BatteryStatsHistory

This CL closes an overlooked concurrency issue, namely that when
we create a copy of BH we clone the buffer Parcel inside. If the
parcel is resized, especially relocated, during this operation,
we get a disastrous crash.

Bug: 320475371
Test: atest PowerStatsTests
Change-Id: Ied409ea5cd7d083c2f191604530f52dc48999bf1
parent 97d24320
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