[Android] Photo Picker: Enforce UI thread for DecoderServiceHost.
Chromium uses the DecoderServiceHost on the UI thread, but the test was using it from the test thread, which causes flakiness due to multi-threading issues (decoder replies are bounced to the UI thread). Flakiness was discovered locally while testing another thing (no special bug linked). Also marked a couple of functions private (that don't need to be public). Bug: 656015 Change-Id: Iaae56f6ce10b9747c3deba6f2318ecc421910050 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2074758Reviewed-by:Boris Sazonov <bsazonov@chromium.org> Commit-Queue: Finnur Thorarinsson <finnur@chromium.org> Cr-Commit-Position: refs/heads/master@{#744704}
Showing
Please register or sign in to comment