Merge "Send registerPredictionUpdates request immediately instead of pushing it to the main thread Looper queue." into sc-v2-dev am: f75df97500

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

Change-Id: I5ab959598150988bdcbe23ee20752ac37e959706
This commit is contained in:
Song Hu
2021-11-01 23:30:14 +00:00
committed by Automerger Merge Worker

View File

@@ -187,7 +187,7 @@ public class AppPredictionPerUserService extends
@NonNull IPredictionCallback callback) {
final AppPredictionSessionInfo sessionInfo = mSessionInfos.get(sessionId);
if (sessionInfo == null) return;
final boolean serviceExists = resolveService(sessionId, false,
final boolean serviceExists = resolveService(sessionId, true,
sessionInfo.mUsesPeopleService,
s -> s.registerPredictionUpdates(sessionId, callback));
if (serviceExists) {