Fix a bug where the AiAi service was auto-destroyed due to binder timeout.
Test: flash device and run services Change-Id: I899b7b416b76443c171209866819f2e64f4e6802
This commit is contained in:
@@ -49,6 +49,12 @@ final class RemoteAmbientContextDetectionService
|
||||
connect();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected long getAutoDisconnectTimeoutMs() {
|
||||
// Disable automatic unbinding.
|
||||
return -1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Asks the implementation to start detection.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user