Remove "not called from UI thread" check from NativeLibraryTestUtils
runOnUiThreadBlocking() has no restriction on being called from the UI thread, so it should be safe to call the loadNativeLibrary...() methods from the UI thread as well. This CL also fixes one comment cross-reference to NativeLibraryTestRule, which apparently doesn't exist anymore. [1] https://source.chromium.org/chromium/chromium/src/+/master:base/android/java/src/org/chromium/base/ThreadUtils.java;drc=c741e070dbfcc33b2369e7a5131be87c7b21bb99;bpv=1;l=156 TBR=jdoerrie@chromium.org Bug: None Change-Id: Icd38029ac5dddd372485be00f03648068d7e3063 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2404351 Commit-Queue: Victor Vianna <victorvianna@google.com> Reviewed-by:Victor Vianna <victorvianna@google.com> Reviewed-by:
Filip Gorski <fgorski@chromium.org> Cr-Commit-Position: refs/heads/master@{#807054}
Showing
Please register or sign in to comment