commit | f0cfa61c746316e529b4c8836ddcef61106d155b | [log] [tgz] |
---|---|---|
author | Tony Mak <tonymak@google.com> | Wed Nov 27 10:59:20 2019 +0000 |
committer | Tony Mak <tonymak@google.com> | Wed Nov 27 11:52:58 2019 +0000 |
tree | e76a0f264af40739e9d21655f2ec0f266a34d907 | |
parent | 56af6730350fb710e77d5052a9620bff36566371 [diff] |
Fix a broken test by mocking PackageManager There is no email app in AOSP, and thus the test fails. Mocking the package manager output to fix the test Test: atest frameworks/base/core/tests/coretests/src/android/view/textclassifier/TextClassifierTest.java Fixes: 139536812 Fixes: 145209230 Change-Id: Ie2dd599528074266d45044b1785a1b7d71caa1d3