diff options
| author | 2020-05-15 02:09:50 +0000 | |
|---|---|---|
| committer | 2020-05-15 02:09:50 +0000 | |
| commit | ca75e3f2dfd76dbbffab5d46697ce408e2bd5f0d (patch) | |
| tree | f54806b8f69e19c252277155f7bc02d8d7667e12 | |
| parent | ab1dd8d6e6f147220d612e6cd203a7d01f31ebd5 (diff) | |
| parent | 103aed340e289e28a1d72f332d1504d328601d99 (diff) | |
Merge "Resurrect app prediciton sessions after destroy and rebind" into rvc-dev am: 103aed340e
Change-Id: I5785722495db8a89541dcb380f2de04310bb4a40
| -rw-r--r-- | services/appprediction/java/com/android/server/appprediction/AppPredictionPerUserService.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/appprediction/java/com/android/server/appprediction/AppPredictionPerUserService.java b/services/appprediction/java/com/android/server/appprediction/AppPredictionPerUserService.java index fdc5f810db22..103151dcdda5 100644 --- a/services/appprediction/java/com/android/server/appprediction/AppPredictionPerUserService.java +++ b/services/appprediction/java/com/android/server/appprediction/AppPredictionPerUserService.java @@ -267,6 +267,9 @@ public class AppPredictionPerUserService extends mRemoteService.destroy(); mRemoteService = null; + synchronized (mLock) { + mZombie = true; + } mRemoteService = getRemoteServiceLocked(); if (mRemoteService != null) { if (isDebug()) { |