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

Commit cf2617b5 authored by Kathy Chen's avatar Kathy Chen Committed by Android (Google) Code Review
Browse files

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

parents 2369cb4d d28ee3f0
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.
     *