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

Skip to content
Commit d20f8d50 authored by Atneya Nair's avatar Atneya Nair
Browse files

Cache dropped callbacks in STInstrumentation

Sessions can receive callbacks before the client attaches their
callback. To avoid flake, if there is no callback registered, save the
messages in order, and dispatch them when the callback is registered.

Bug: 279774505
Test: AlwaysOnHotwordDetectorTest --iterations 20
Test: SoundTriggerManagerTest --iterations 20
Change-Id: I2dc96e0a3d52149eb0bad75ffd45869b16460057
parent 2d7c7aa6
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