Merge "Flush Content Capture context updated event immediately" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3a4b5e0817
@@ -773,7 +773,7 @@ public final class MainContentCaptureSession extends ContentCaptureSession {
|
|||||||
|
|
||||||
void notifyContextUpdated(int sessionId, @Nullable ContentCaptureContext context) {
|
void notifyContextUpdated(int sessionId, @Nullable ContentCaptureContext context) {
|
||||||
mHandler.post(() -> sendEvent(new ContentCaptureEvent(sessionId, TYPE_CONTEXT_UPDATED)
|
mHandler.post(() -> sendEvent(new ContentCaptureEvent(sessionId, TYPE_CONTEXT_UPDATED)
|
||||||
.setClientContext(context)));
|
.setClientContext(context), FORCE_FLUSH));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user