Revert "[Image Capture, Android] Fix various threading issues"
This reverts commit 87b3a36a. Reason for revert: Causes crash issue https://bugs.chromium.org/p/chromium/issues/detail?id=874745 Original change's description: > [Image Capture, Android] Fix various threading issues > > This CL simplifies the threading of class VideoCaptureCamera2.java > and by doing so resolves potential issues caused by concurrent > access to member variables and Android video API calls. > > See https://bugs.chromium.org/p/chromium/issues/detail?id=857530 for > details on issues. > > The simplified model is to (still) have the constructor and public API > calls happen on a native thread, and to use a single dedicated thread > owned by the class instance to post to, do work on, and call back into > the native code. > > This CL is part of a series, see Design Doc at > https://docs.google.com/document/d/1h1kva4VR1gaV3HVXaSYZFY41icfaB58j-WnHmJdyqc8/edit?usp=sharing > > Bug: 857530 > Change-Id: I75ffcc4a14f2395d833d80f300acef7b456676e8 > Reviewed-on: https://chromium-review.googlesource.com/1117857 > Commit-Queue: Christian Fremerey <chfremer@chromium.org> > Reviewed-by: Emircan Uysaler <emircan@chromium.org> > Cr-Commit-Position: refs/heads/master@{#576155} TBR=emircan@chromium.org,chfremer@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 857530 Change-Id: Ifc02ccd8b8282b0ec31e2f4f36dbe831eee551a2 Reviewed-on: https://chromium-review.googlesource.com/1185262Reviewed-by:Christian Fremerey <chfremer@chromium.org> Commit-Queue: Christian Fremerey <chfremer@chromium.org> Cr-Commit-Position: refs/heads/master@{#585199}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment