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

Commit 791a2c79 authored by Lili Zou's avatar Lili Zou Committed by Android (Google) Code Review
Browse files

Merge "Change the Ambient Context Manager to return STATUS_SERVICE_UNAVAILABLE...

Merge "Change the Ambient Context Manager to return STATUS_SERVICE_UNAVAILABLE instead of STATUS_NOT_SUPPORTED when the detection service is not set up."
parents eb51556b 49938fc3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -220,7 +220,7 @@ final class AmbientContextManagerPerUserService extends
            } else {
                Slog.w(TAG, "No valid component found for AmbientContextDetectionService");
                sendStatusToCallback(clientStatusCallback,
                        AmbientContextManager.STATUS_NOT_SUPPORTED);
                        AmbientContextManager.STATUS_SERVICE_UNAVAILABLE);
            }
        }
    }