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

Add module selection APIs to ST

Configure underlying ST module selection when connecting to STService.
This enables connection to a test HAL implementation.

1. Add listModuleProperties to STService interface.
2. Add ModuleProp argument to STService session attach methods.
3. Existing STService clients select the first module, to retain
   existing behavior.
4. Remove module props cacheing in STHelper.
5. Remove module re-attach on prepareForRec in STHelper, detach is now
   final. Module now re-attaches immediately on HAL death.
6. Explicitly error when no ST module is available in STManager.

Test: Manual verification of assistant/aiai phrase reco
Test: ST clients gracefully reconnect after HAL restart
Test: Manual verification of getModuleProp result
Bug: 269165331
Bug: 269166643
Change-Id: I1be9773aa20d68562154eb9fb9ec9e46583231c9
parent 4c2b1952
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