Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d28ee3f0 authored by Kathy Chen's avatar Kathy Chen
Browse files

Fix a bug where the AiAi service was auto-destroyed due to binder timeout.

Test: flash device and run services
Change-Id: I899b7b416b76443c171209866819f2e64f4e6802
parent b7acc926
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -49,6 +49,12 @@ final class RemoteAmbientContextDetectionService
        connect();
    }

    @Override
    protected long getAutoDisconnectTimeoutMs() {
        // Disable automatic unbinding.
        return -1;
    }

    /**
     * Asks the implementation to start detection.
     *