Merge "Reduce STHAL watchdog timeout to 3 seconds" into sc-dev

This commit is contained in:
Ytai Ben-tsvi
2021-03-03 00:32:55 +00:00
committed by Android (Google) Code Review

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