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
Loading
Please register or sign in to comment