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

Commit 6c757b08 authored by Kathy Chen's avatar Kathy Chen Committed by Automerger Merge Worker
Browse files

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

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17161234

Change-Id: If16309028bc3fc0e9bad97abba53c1897588e527
parents 14430571 426cc578
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.
     *