From 39b366fc44d936df9a8f53327453baeb3d03cc7f Mon Sep 17 00:00:00 2001 From: TYM Tsai Date: Mon, 12 Apr 2021 21:45:09 +0800 Subject: [PATCH] Fix the service cann't rebinded after the service died The Content Capture remote service needs to rebind afeter died. But the service entered an error state, causing the reconnection to be ignored. When service died, the state should be changed to waiting the new connection. Bug: 184786235 Test: atest CtsContentCaptureServiceTestCases Change-Id: I2842b2aab0dcf82938b5c7a9f6afcf044f7f598e --- .../internal/infra/AbstractRemoteService.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/core/java/com/android/internal/infra/AbstractRemoteService.java b/core/java/com/android/internal/infra/AbstractRemoteService.java index f63ac2e14e20c..8b24f6451ccf3 100644 --- a/core/java/com/android/internal/infra/AbstractRemoteService.java +++ b/core/java/com/android/internal/infra/AbstractRemoteService.java @@ -88,7 +88,7 @@ public abstract class AbstractRemoteService