Reduce STHAL watchdog timeout to 3 seconds

Test: Basic soundtrigger cases on Pixel 3A
Fixes: 166328980
Change-Id: I77a8912e6bba4780324832545fd2f23b25c71df1
This commit is contained in:
Ytai Ben-Tsvi
2021-03-02 09:21:56 -08:00
parent 2683542500
commit dc828e44f6

View File

@@ -35,8 +35,7 @@ import java.util.TimerTask;
* HAL whenever they expire.
*/
public class SoundTriggerHw2Watchdog implements ISoundTriggerHw2 {
// TODO(b/166328980): Reduce this to 1000 as soon as HAL is fixed.
private static final long TIMEOUT_MS = 10000;
private static final long TIMEOUT_MS = 3000;
private static final String TAG = "SoundTriggerHw2Watchdog";
private final @NonNull