Fix NewApi Lint errors for Android chrome/browser tests.
NewApi warnings were suppressed accidentally and an AssertionError constructor that requires API 19 was used. The NewApi warnings are back, so this fix avoids using the AssertionError and throws the exceptions as they are. Bug: 805509,803484 Change-Id: I1f342d06cb7e4e24ea816803d0e97dbeab6f59d9 Reviewed-on: https://chromium-review.googlesource.com/884385 Commit-Queue: Troy Hildebrandt <thildebr@chromium.org> Reviewed-by:Maria Khomenko <mariakhomenko@chromium.org> Cr-Commit-Position: refs/heads/master@{#531705}
Showing
Please register or sign in to comment