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

Skip to content
Commit ce521ee6 authored by Iris Chang's avatar Iris Chang Committed by Wonsik Kim
Browse files

Fix status error to avoid releasing component twice

When flush action is stuck, component will be released,
and state will be changed to RELEASED.
Then flush completed or returned error, and state will be
changed to FLUSHED.
When shutdown, release is called again, and exception happens.

Solution: Change state to FLUSHED only when it is FLUSHING

Bug: 136790747
Test: It is a seldom issue, and only happens when flush action
is stuck. We test this patch by modifying code to make flush
time more than 3s.
Change-Id: I74cb2599a9e029332d600469f38630651d9f43c0
parent 73b065fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment