commit | 5170c58c86b0685fb0064ce051bdb525308af6a0 | [log] [tgz] |
---|---|---|
author | ryanlwlin <ryanlwlin@google.com> | Tue Jun 15 14:54:16 2021 +0800 |
committer | ryanlwlin <ryanlwlin@google.com> | Thu Jun 17 09:51:09 2021 +0800 |
tree | 1afa2a0c5f8bf36c57cffe687a77b3a3011472bd | |
parent | 96d2926fc76e8b07d3d906e0cc2c792a7f7dde44 [diff] |
fix package visibility for installed accessibility services If the app targets API level 30, the returned installed AccessibilityServiceInfo would based on its own package visiblity. Using packageManagerInternal#filterAppAccess to determine whether we need to fitler the service or not. Bug: 179699353 Test: manual - use the test apk and check the log atest AppEnumerationTests Change-Id: Ieea089e10410a9d9feeb4a741c871c43547b1861