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

Commit 238d39f5 authored by Ytai Ben-Tsvi's avatar Ytai Ben-Tsvi
Browse files

Send a tryAgain() when no longer at model capacity

This makes sure a tryAgain event is sent whenever we unloaded a model
and as a result we're no longer at our max model capacity.

This change also gets rid of atomics in favor of common locking.

Test: atest SoundTriggerMiddlewareImplTest SoundHw2CompatTest
      Manual verification of basic soundtrigger flows.
Bug: 178722883
Change-Id: I053fd23802de93a416930dd2456c91d1a6bb91fb
parent a5b31d81
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