summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2022-04-13 10:14:03 -0500
committerchaviw <chaviw@google.com>2022-04-13 15:41:45 -0500
commit2e09cb3188a29e4a8911833312a88035d5470142 (patch)
treeeb8d191cac72fabf24668f386956dbc3105a66fb /core/java/android/inputmethodservice/InputMethodService.java
parente360c271c6f02693d189774f5967c237896d2d7b (diff)
Set mSyncBuffer to true when VRI did not initiate the sync request
VRI can initiate syncs, but they can also happen from other places when using SurfaceSyncer. When VRI initiates the sync, sometimes the buffer needs to be synced. Other times, we just want to know the buffer has drawn, but don't actually need to sync the buffer. When a sync is initiated from outside VRI, using SurfaceSyncer, we always want to sync the buffer. This change ensures that if the sync was started from an outside request, it will set mSyncBuffer to true. An additional part to clarify the sync logic, renamed mLastSyncId to mSyncId and renamed isInSync to isInLocalSync to clarify that the mSyncId only represents VRI initiated syncs. Test: Internet Dialog syncs buffer Fixes: 229098223 Change-Id: I99e9e6341a487d59c33a33a61e442be7909518c2
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions