[AW][Dev-UI] start activity using MainActivity context
Use MainActivity context to startActivity instead of calling the fragment#startActivity to avoid the exception thrown when the fragment is detached. Bug: 1130732 Test: Manually launch the app, click settings Test: run_webview_instrumentation_test_apk -f "*android_webview.devui*" Change-Id: Ib43df575edf34154b4297fac2bc1b8216250cdae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2424151 Commit-Queue: Hazem Ashmawy <hazems@chromium.org> Reviewed-by:Nate Fischer <ntfschr@chromium.org> Cr-Commit-Position: refs/heads/master@{#810295}
Showing
Please register or sign in to comment