| commit | 5c97595aafa51cd11c609afe31a848f20cf908ee | [log] [tgz] |
|---|---|---|
| author | Michael Wright <michaelwr@google.com> | Fri Feb 04 20:08:57 2022 +0000 |
| committer | Michael Wright <michaelwr@google.com> | Fri Feb 04 21:17:09 2022 +0000 |
| tree | d2a9131c19ce54ce8baabd1f7ab3100e50d95359 | |
| parent | 2e7197c2ae0a5983e86d9dacb0ce5357c5873c3e [diff] |
Avoid catching AssertionError for actual failures.
ActivityManagerServiceUtilsTest was checking to make sure its test
method would actually validate input and correctly fail. Unfortunately,
it also caught the AssertionError for the test _actually_ failing.
Bug: 217923092
Test: errorprone build
ActivityManagerUtilsTest#testCheckShouldSamplePackage
Change-Id: Icd5a62c470b0f3d15de65f4b43d4355ba9c4661c