Fix NativeBrowserTestActivity and multiple onStarts
NativeBrowserTestActivity.onStart will be called twice, once due to ActivityThread.handleStartActivity and once due to ActivityThread.handleWindowVisibility which calls Activity.performRestart. Usually the tests exit before the task posted by NativeTest.postTask runs, but if they don't really bad things happen. Needed to land the BrowserUIThreadScheduler patch. Bug: 863341 Change-Id: Iba19248ec2bbdfcd12a2e75f176a4c7e25de2662 Reviewed-on: https://chromium-review.googlesource.com/c/1455997 Commit-Queue: Alex Clarke <alexclarke@chromium.org> Reviewed-by:Sami Kyöstilä <skyostil@chromium.org> Cr-Commit-Position: refs/heads/master@{#629535}
Showing
Please register or sign in to comment