commit | 50af435b775bdf61f10fbd99ffd4ace86ecb7619 | [log] [tgz] |
---|---|---|
author | Song Hu <songhu@google.com> | Wed Oct 27 11:25:12 2021 -0700 |
committer | Song Hu <songhu@google.com> | Wed Oct 27 11:25:12 2021 -0700 |
tree | 275e6e728e089582c1f105a266027a381c310f93 | |
parent | 7da5998d0300753d82a1a370edc01b5c4577d2d3 [diff] |
Send registerPredictionUpdates request immediately instead of pushing it to the main thread Looper queue. This ensure requestPredictionUpdate executing after registerPredictionUpdates; otherwise when main thread is busy, requestPredictionUpdate may occur before registerPredictionUpdates and skip executing main logic due to no registered callback. Bug: 200323675 Test: manually test on the device Change-Id: I70631a74583b41bb392600bd7c7bcf076727a802