Merge "Fix a bug where the AiAi service was auto-destroyed due to binder timeout." into tm-dev

This commit is contained in:
Kathy Chen
2022-03-11 01:09:35 +00:00
committed by Android (Google) Code Review

View File

@@ -49,6 +49,12 @@ final class RemoteAmbientContextDetectionService
connect();
}
@Override
protected long getAutoDisconnectTimeoutMs() {
// Disable automatic unbinding.
return -1;
}
/**
* Asks the implementation to start detection.
*