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

Commit f75df975 authored by Song Hu's avatar Song Hu Committed by Android (Google) Code Review
Browse files

Merge "Send registerPredictionUpdates request immediately instead of pushing...

Merge "Send registerPredictionUpdates request immediately instead of pushing it to the main thread Looper queue." into sc-v2-dev
parents e5e42892 689bc29a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {