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

Skip to content
Commit 63238fe6 authored by chaviw's avatar chaviw
Browse files

Don't request sync again for reparented WC

When a WC is reparented, a sync request can be initiated again to
account for any config changes. However, this can cause deadlocks in the
client since the app may already have produced a sync buffer and that
buffer is now held in a sync transaction. The app can't produce any more
buffers since it has ran out and just gets stuck waiting. The previous
buffer will never get applied since BLASTSyncEngine is waiting for the
next buffer to return from the sync request.

Disable the second sync request for now and handle a real solution
later.

Test: No ANR in split gmail + messages on 60hz device
Bug: 214320347
Change-Id: I5e11925de848781ddc34793f118b739703cc8ca2
parent c15af2cb
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