diff options
| author | 2021-08-06 20:17:05 +0000 | |
|---|---|---|
| committer | 2021-08-06 20:17:05 +0000 | |
| commit | 377d2e66c7d6d96e8e3648e0e91d44b23e627ef5 (patch) | |
| tree | 6f896055366bd15524c5584b8f6ca0df37ec408f | |
| parent | 6c1b160aa4aa32092281bfeecb0ff83143bde79f (diff) | |
| parent | 5fac6c75bd65ee1b84c1023535d85c155de399a7 (diff) | |
Merge "Fix sharesheet timeout by sending CreatePredictionSession request immediately instead of pushing it to the main thread Looper queue. CreatePredictionSession request is latency-sensitive.Its sendImmediately flag was flipped to be false accidentally in I937cdaa6081d2b85d27ee0192f6af7f197b8e102." into sc-dev am: 5fac6c75bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15475656
Change-Id: Iacc1e3e38930a28db45dfb99115d855ed556f0da
| -rw-r--r-- | services/appprediction/java/com/android/server/appprediction/AppPredictionPerUserService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/appprediction/java/com/android/server/appprediction/AppPredictionPerUserService.java b/services/appprediction/java/com/android/server/appprediction/AppPredictionPerUserService.java index cd332a68fa88..4946ad442b0a 100644 --- a/services/appprediction/java/com/android/server/appprediction/AppPredictionPerUserService.java +++ b/services/appprediction/java/com/android/server/appprediction/AppPredictionPerUserService.java @@ -125,7 +125,7 @@ public class AppPredictionPerUserService extends // connect with remote AppPredictionService instead for dark launch usesPeopleService = false; } - final boolean serviceExists = resolveService(sessionId, false, + final boolean serviceExists = resolveService(sessionId, true, usesPeopleService, s -> s.onCreatePredictionSession(context, sessionId)); if (serviceExists && !mSessionInfos.containsKey(sessionId)) { final AppPredictionSessionInfo sessionInfo = new AppPredictionSessionInfo( |